manual shutdown

ENGINE-781 Release_2.1.0-RC15
Volker Birk 3 years ago
parent e658bbaf0e
commit 57a3dbabda

@ -80,7 +80,9 @@ namespace pEp {
void CallbackDispatcher::stop_sync()
{
pEp::Adapter::shutdown();
callback_dispatcher.semaphore.stop();
Adapter::q.clear();
Adapter::q.push_back(nullptr);
callback_dispatcher.semaphore.go();
for (auto target : callback_dispatcher.targets) {

Loading…
Cancel
Save