Ejemplo n.º 1
0
 def _dispose(self):
     g_customizationController.updateTank3DModel(isReset=True)
     g_customizationController.carousel.updated -= self.__setCarouselData
     g_customizationController.carousel.slots.updated -= self.as_updateSlotS
     g_customizationController.carousel.slots.cart.totalPriceUpdated -= self.__setBuyingPanelData
     g_customizationController.carousel.slots.cart.emptied -= self.as_hideBuyingPanelS
     g_customizationController.carousel.slots.cart.filled -= self.as_showBuyingPanelS
     g_customizationController.carousel.slots.bonusPanel.bonusesUpdated -= self.__setBonusData
     g_customizationController.fini()
     super(MainView, self)._dispose()
Ejemplo n.º 2
0
 def _dispose(self):
     g_customizationController.updateTank3DModel(isReset=True)
     g_customizationController.carousel.updated -= self.__setCarouselData
     g_customizationController.carousel.slots.updated -= self.as_updateSlotS
     g_customizationController.carousel.slots.cart.totalPriceUpdated -= self.__setBottomPanelData
     g_customizationController.carousel.slots.cart.availableMoneyUpdated -= self.__setBottomPanelData
     g_customizationController.carousel.slots.cart.emptied -= self.as_hideBuyingPanelS
     g_customizationController.carousel.slots.cart.filled -= self.as_showBuyingPanelS
     g_customizationController.carousel.slots.bonusPanel.bonusesUpdated -= self.__setBonusData
     g_currentVehicle.onChanged -= self.__setHeaderInitData
     g_customizationController.carousel.slots.cart.purchaseProcessed -= self.__onPurchaseProcessed
     Cart.purchaseProcessStarted -= self.__onPurchaseProcessStarted
     g_customizationController.fini()
     super(MainView, self)._dispose()