Пример #1
0
 def fini(self):
     self.__protoPlugins.clear()
     self.__gui.clear()
     self.__playerHelper.clear()
     self.__storage.clear()
     g_settings.fini()
     g_playerEvents.onAccountShowGUI -= self.__pe_onAccountShowGUI
     g_playerEvents.onAccountBecomePlayer -= self.__pe_onAccountBecomePlayer
     g_playerEvents.onAvatarBecomePlayer -= self.__pe_onAvatarBecomePlayer
     g_playerEvents.onAccountBecomeNonPlayer -= self.__pe_onAccountBecomeNonPlayer
     g_playerEvents.onAvatarBecomeNonPlayer -= self.__pe_onAvatarBecomeNonPlayer
     connectionManager.onDisconnected -= self.__cm_onDisconnected
Пример #2
0
 def fini(self):
     self.__protoPlugins.clear()
     self.__gui.clear()
     self.__playerHelper.clear()
     self.__storage.clear()
     g_settings.fini()
     g_playerEvents.onAccountShowGUI -= self.__pe_onAccountShowGUI
     g_playerEvents.onAccountBecomePlayer -= self.__pe_onAccountBecomePlayer
     g_playerEvents.onAvatarBecomePlayer -= self.__pe_onAvatarBecomePlayer
     g_playerEvents.onAccountBecomeNonPlayer -= self.__pe_onAccountBecomeNonPlayer
     g_playerEvents.onAvatarBecomeNonPlayer -= self.__pe_onAvatarBecomeNonPlayer
     connectionManager.onDisconnected -= self.__cm_onDisconnected
 def fini(self):
     self.__msgFiltersChain.fini()
     self.__protoPlugins.clear()
     self.__gui.clear()
     self.__playerHelper.clear()
     self.__storage.clear()
     g_settings.fini()
     g_playerEvents.onAccountShowGUI -= self.__pe_onAccountShowGUI
     g_playerEvents.onGuiCacheSyncCompleted -= self.__pe_onGuiCacheSyncCompleted
     g_playerEvents.onAccountBecomePlayer -= self.__pe_onAccountBecomePlayer
     g_playerEvents.onAvatarBecomePlayer -= self.__pe_onAvatarBecomePlayer
     g_playerEvents.onAccountBecomeNonPlayer -= self.__pe_onAccountBecomeNonPlayer
     g_playerEvents.onAvatarBecomeNonPlayer -= self.__pe_onAvatarBecomeNonPlayer
     self.connectionMgr.onDisconnected -= self.__cm_onDisconnected