From f8acde64f7a56c0c217b6712088aef04ea0be77a Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 14 Aug 2014 18:08:31 +0000 Subject: [PATCH] taskMgr.destroy() should imply stop() --- direct/src/task/Task.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/task/Task.py b/direct/src/task/Task.py index bffe8fa82d..f105e8f33c 100644 --- a/direct/src/task/Task.py +++ b/direct/src/task/Task.py @@ -136,6 +136,7 @@ class TaskManager: def destroy(self): # This should be safe to call multiple times. + self.running = False self.notify.info("TaskManager.destroy()") self.destroyed = True self._frameProfileQueue.clear()