mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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')
|
||||
|
||||
def shutdown(self):
|
||||
# Should be safe to import the global taskMgr by now.
|
||||
from direct.task.TaskManagerGlobal import taskMgr
|
||||
taskMgr.remove('eventManager')
|
||||
|
Loading…
x
Reference in New Issue
Block a user