mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
recursive task manager message
This commit is contained in:
parent
8e90096a2c
commit
8407030245
@ -1219,6 +1219,13 @@ do_poll() {
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (_num_busy_threads != 0) {
|
||||
nassert_raise("You may not recursively invoke the TaskManager from within a task");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
nassertv(!_pickup_mode);
|
||||
|
||||
do {
|
||||
|
Loading…
x
Reference in New Issue
Block a user