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
def shutdown(): """ Called from high level modules to finish all things correctly. """ dhnio.Dprint(4, 'backup_monitor.shutdown') automat.clear_object(A().index)
def shutdown(): dhnio.Dprint(4, 'p2p_connector.shutdown') automat.clear_object(A().index)