mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
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…
x
Reference in New Issue
Block a user