def _doDeactivate(self): g_eventBus.removeListener(AppLifeCycleEvent.INITIALIZED, self.__onSfAppInited, EVENT_BUS_SCOPE.GLOBAL) self.__weaver.clear() g_currentVehicle.destroy() g_currentPreviewVehicle.destroy() self.hangarSpace.destroy()
def onAccountBecomeNonPlayer(): g_itemsCache.clear() g_goodiesCache.clear() g_currentVehicle.destroy() g_currentPreviewVehicle.destroy() g_hangarSpace.destroy() guiModsSendEvent("onAccountBecomeNonPlayer") UsersInfoHelper.clear()
def onAccountBecomeNonPlayer(): g_itemsCache.clear() g_goodiesCache.clear() g_currentVehicle.destroy() g_currentPreviewVehicle.destroy() g_hangarSpace.destroy() guiModsSendEvent('onAccountBecomeNonPlayer') UsersInfoHelper.clear()
def onAccountBecomeNonPlayer(): g_clanCache.clear() ServicesLocator.itemsCache.clear() ServicesLocator.goodiesCache.clear() g_currentVehicle.destroy() g_currentPreviewVehicle.destroy() ServicesLocator.hangarSpace.destroy() g_prbLoader.onAccountBecomeNonPlayer() guiModsSendEvent('onAccountBecomeNonPlayer') UsersInfoHelper.clear()
def _doDeactivate(self): from bootcamp.BootcampGarage import g_bootcampGarage g_eventBus.removeListener(GUICommonEvent.LOBBY_VIEW_LOADED, self.onLobbyInited) g_bootcampEvents.onBattleReady -= self._onBattleReady g_bootcampGarage.stopLobbyAssistance() g_bootcampGarage.clear() self.__weaver.clear() from gui.shared.utils.HangarSpace import g_hangarSpace g_currentVehicle.destroy() g_currentPreviewVehicle.destroy() g_hangarSpace.destroy()