more robust cleanup
This commit is contained in:
parent
5f44cffb55
commit
c834e52eca
|
|
@ -83,8 +83,10 @@ class Level:
|
|||
del self.createdEntities
|
||||
if hasattr(self, 'entities'):
|
||||
del self.entities
|
||||
del self.entId2spec
|
||||
del self.spec
|
||||
if hasattr(self, 'entId2spec'):
|
||||
del self.entId2spec
|
||||
if hasattr(self, 'spec'):
|
||||
del self.spec
|
||||
|
||||
def createEntityCreator(self):
|
||||
self.notify.error(
|
||||
|
|
|
|||
Loading…
Reference in New Issue