Skip to content

Commit

Permalink
Flip not started and not finished mutex unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 committed Oct 29, 2019
1 parent c3a820c commit 589cdd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgstaskmanager.cpp
Expand Up @@ -57,8 +57,8 @@ qint64 QgsTask::elapsedTime() const

void QgsTask::start()
{
mNotStartedMutex.unlock();
mNotFinishedMutex.lock();
mNotStartedMutex.unlock();
mStartCount++;
Q_ASSERT( mStartCount == 1 );

Expand Down

0 comments on commit 589cdd0

Please sign in to comment.