pdb: more changes to monitor list handling

This commit is contained in:
Michael Davidsaver
2017-11-05 17:50:34 -06:00
parent e7fa7b624e
commit 3a53e96b47
5 changed files with 28 additions and 21 deletions

View File

@ -254,16 +254,7 @@ public:
virtual void destroy()
{
bool run;
{
guard_t G(lock);
run = running;
if(run) {
running = false;
}
}
if(run)
this->onStop();
stop();
}
private: