fixup! Prevent crashes on closing by waiting for the impl thread

This commit is contained in:
James Rowe 2018-02-24 17:41:15 -07:00 committed by Daniel Lim Wee Soong
parent 87bc5266ef
commit ab4ba71f3e

View file

@ -84,6 +84,7 @@ private:
}
~Impl() {
running = false;
backend_thread.get();
}
std::atomic_bool running{true};