Permalink
Browse files

fix racing issue in RhoThread

  • Loading branch information...
1 parent e63f34d commit cef3f631cbafe79a733d7e3622de28db10b580ec @genywind genywind committed Oct 15, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 platform/shared/common/RhoThread.cpp
View
3 platform/shared/common/RhoThread.cpp
@@ -40,9 +40,8 @@ void CRhoThread::start(EPriority ePriority)
{
if ( !isAlive() )
{
- m_pImpl->start(this, ePriority);
-
m_nState = TS_RUNNING;
+ m_pImpl->start(this, ePriority);
}
}

0 comments on commit cef3f63

Please sign in to comment.