fixup! Prevent crashes on closing by waiting for the impl thread
This commit is contained in:
parent
87bc5266ef
commit
ab4ba71f3e
@ -84,6 +84,7 @@ private:
|
|||||||
}
|
}
|
||||||
~Impl() {
|
~Impl() {
|
||||||
running = false;
|
running = false;
|
||||||
|
backend_thread.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::atomic_bool running{true};
|
std::atomic_bool running{true};
|
||||||
|
Loading…
Reference in New Issue
Block a user