def shutdown(self):
     self.notify.info("Deleting ice creams...")
     for iceCream in self.iceCreams:
         iceCream.requestDelete()
         self.iceCreams.remove(iceCream)
         del iceCream
     del self.iceCreams
     HoodAI.shutdown(self)
Esempio n. 2
0
    def shutdown(self):
        self.notify.info('Deleting ice creams...')
        for iceCream in self.iceCreams:
            iceCream.requestDelete()
            self.iceCreams.remove(iceCream)
            del iceCream

        del self.iceCreams
        HoodAI.shutdown(self)
 def shutdown(self):
     if self.gagShop:
         self.notify.info("Shutting down gag shop...")
         self.gagShop.requestDelete()
         self.gagShop = None
     if self.suitManager:
         self.notify.info("Shutting down suit manager...")
         self.suitManager.requestDelete()
         self.suitManager = None
     HoodAI.shutdown(self)