Browse Source

manual shutdown

ENGINE-781 Release_2.1.0-RC15
Volker Birk 2 years ago
parent
commit
57a3dbabda
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      callback_dispatcher.cc

+ 3
- 1
callback_dispatcher.cc View File

@ -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