cleanup leaks

This commit is contained in:
Joe Shochet 2005-01-26 05:57:43 +00:00
parent b1dc62cbd7
commit 634df8d0c4
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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