mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
cleanup leaks
This commit is contained in:
parent
b1dc62cbd7
commit
634df8d0c4
@ -181,7 +181,8 @@ class DistributedObject(PandaObject):
|
||||
except:
|
||||
self.DistributedObject_deleted = 1
|
||||
self.cr = None
|
||||
|
||||
self.dclass = None
|
||||
|
||||
def generate(self):
|
||||
"""
|
||||
Inheritors should redefine this to take appropriate action on generate
|
||||
|
@ -25,6 +25,8 @@ class BulletinBoardWatcher(DirectObject.DirectObject):
|
||||
|
||||
def destroy(self):
|
||||
self.ignoreAll()
|
||||
del self.callback
|
||||
del self.waitingOn
|
||||
|
||||
def isDone(self):
|
||||
return len(self.waitingOn) == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user