mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
taskMgr not a global on AI
This commit is contained in:
parent
05a2432673
commit
c0e0d63de4
@ -212,4 +212,6 @@ class EventManager:
|
|||||||
taskMgr.add(self.eventLoopTask, 'eventManager')
|
taskMgr.add(self.eventLoopTask, 'eventManager')
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
|
# Should be safe to import the global taskMgr by now.
|
||||||
|
from direct.task.TaskManagerGlobal import taskMgr
|
||||||
taskMgr.remove('eventManager')
|
taskMgr.remove('eventManager')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user