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…
Reference in New Issue