mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
removed __del__ to prevent garbage leaks
This commit is contained in:
parent
5f3be0ab9a
commit
89d50d7ab3
@ -161,10 +161,6 @@ class FSM(DirectObject):
|
|||||||
import weakref
|
import weakref
|
||||||
_debugFsms[name]=weakref.ref(self)
|
_debugFsms[name]=weakref.ref(self)
|
||||||
|
|
||||||
def __del__(self):
|
|
||||||
self.cleanup()
|
|
||||||
# DirectObject.__del__(self)
|
|
||||||
|
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
# A convenience function to force the FSM to clean itself up
|
# A convenience function to force the FSM to clean itself up
|
||||||
# by transitioning to the "Off" state.
|
# by transitioning to the "Off" state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user