ignoreAll in del
This commit is contained in:
parent
7d76de1440
commit
86faf19707
|
|
@ -8,10 +8,10 @@ class DirectObject:
|
|||
def __init__(self):
|
||||
pass
|
||||
|
||||
# This destructor is useful for debugging leaks
|
||||
#def __del__(self):
|
||||
# print "Destructing: ", self.__class__.__name__
|
||||
|
||||
def __del__(self):
|
||||
self.ignoreAll()
|
||||
# This next line is useful for debugging leaks
|
||||
#print "Destructing: ", self.__class__.__name__
|
||||
|
||||
# Wrapper functions to have a cleaner, more object oriented approach to
|
||||
# the messenger functionality.
|
||||
|
|
|
|||
Loading…
Reference in New Issue