Exemplo n.º 1
0
def shutdown():
    """
    Called from top level code when the software is finishing.
    """
    dhnio.Dprint(4, 'contact_status.shutdown')
    global _ShutdownFlag
    global _ContactsStatusDict
    for A in _ContactsStatusDict.values():
        automat.clear_object(A.index)
    _ContactsStatusDict.clear()
    _ShutdownFlag = True
Exemplo n.º 2
0
def shutdown():
    """
    Called from high level modules to finish all things correctly.
    """
    dhnio.Dprint(4, 'backup_monitor.shutdown')
    automat.clear_object(A().index)
Exemplo n.º 3
0
def shutdown():
    dhnio.Dprint(4, 'p2p_connector.shutdown')
    automat.clear_object(A().index)