Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48f400c3 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am bec4abaa: Merge "Fix issue 3302649." into gingerbread

* commit 'bec4abaa':
  Fix issue 3302649.
parents 58ea9394 bec4abaa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -774,6 +774,9 @@ int Thread::_threadLoop(void* user)
            self->mExitPending = true;
            self->mLock.lock();
            self->mRunning = false;
            // clear thread ID so that requestExitAndWait() does not exit if
            // called by a new thread using the same thread ID as this one.
            self->mThread = thread_id_t(-1);
            self->mThreadExitedCondition.broadcast();
            self->mLock.unlock();
            break;