@@ -232,13 +232,13 @@ thread->_returnValue = [object retain]; [thread handleTermination]; thread->_running = OF_THREAD_WAITING_FOR_JOIN; + objc_autoreleasePoolPop(thread->_pool); } - objc_autoreleasePoolPop(thread->_pool); [OFAutoreleasePool OF_handleThreadTermination]; [thread release]; of_thread_exit();