mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fixed Finder bug when callback is deleted on removed tasks
This commit is contained in:
parent
564bb18332
commit
6446d3c673
@ -787,7 +787,7 @@ class TaskManager:
|
||||
import new
|
||||
for taskPriList in self.taskList:
|
||||
for task in taskPriList:
|
||||
if task is None:
|
||||
if (task is None) or (task.isRemoved()):
|
||||
break
|
||||
method = task.__call__
|
||||
if (type(method) == types.MethodType):
|
||||
|
Loading…
x
Reference in New Issue
Block a user