mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
taskMgr.destroy() should imply stop()
This commit is contained in:
parent
d658ba7254
commit
f8acde64f7
@ -136,6 +136,7 @@ class TaskManager:
|
|||||||
|
|
||||||
def destroy(self):
|
def destroy(self):
|
||||||
# This should be safe to call multiple times.
|
# This should be safe to call multiple times.
|
||||||
|
self.running = False
|
||||||
self.notify.info("TaskManager.destroy()")
|
self.notify.info("TaskManager.destroy()")
|
||||||
self.destroyed = True
|
self.destroyed = True
|
||||||
self._frameProfileQueue.clear()
|
self._frameProfileQueue.clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user