pipeline: Fix Thread::bind_thread() assertion on Android

This commit is contained in:
rdb 2022-03-12 16:48:46 +01:00
parent 3d31f117e0
commit 98d70147bd

View File

@ -337,7 +337,7 @@ root_func(void *data) {
}
/**
* Called by get_current_thread() if the current therad pointer is null; checks
* Called by get_current_thread() if the current thread pointer is null; checks
* whether it might be the main thread.
*/
Thread *ThreadPosixImpl::
@ -347,7 +347,6 @@ init_current_thread() {
thread = Thread::get_main_thread();
_current_thread = thread;
}
nassertr(thread != nullptr, nullptr);
return thread;
}