Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed May 3, 2018
1 parent 9e8e58d commit b7a9f62
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/plugins/support/SimulationSupport/src/simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1145,15 +1145,13 @@ bool Simulation::doStop(bool pElapsedTime)
{
// Stop our worker, if any, and wait for it to be done

bool res = false;

if (mWorker && mWorker->stop(pElapsedTime)) {
mWorkerFinishedEventLoop->exec();

res = true;
return true;
} else {
return false;
}

return res;
}

//==============================================================================
Expand Down

0 comments on commit b7a9f62

Please sign in to comment.