small fix
This commit is contained in:
parent
afee7d1ed6
commit
f2d74fbc86
@ -677,6 +677,8 @@ namespace nana
|
|||||||
thr = nullptr;
|
thr = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p->thr_variable = nullptr;
|
||||||
|
|
||||||
threads_.erase(i);
|
threads_.erase(i);
|
||||||
if (thr && thr->thread && thr->thread->joinable())
|
if (thr && thr->thread && thr->thread->joinable())
|
||||||
thr->thread->join();
|
thr->thread->join();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user