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