From 98d70147bd32e4948a171612c23ab68e6307287e Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 12 Mar 2022 16:48:46 +0100 Subject: [PATCH] pipeline: Fix Thread::bind_thread() assertion on Android --- panda/src/pipeline/threadPosixImpl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panda/src/pipeline/threadPosixImpl.cxx b/panda/src/pipeline/threadPosixImpl.cxx index 9108825422..371c7464ad 100644 --- a/panda/src/pipeline/threadPosixImpl.cxx +++ b/panda/src/pipeline/threadPosixImpl.cxx @@ -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; }