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