Browse Source

safeguard not needed with a semaphore

synchronous Release_2.1.0-RC5
Volker Birk 5 years ago
parent
commit
653cbf74b5
  1. 2
      callback_dispatcher.cc

2
callback_dispatcher.cc

@ -29,8 +29,6 @@ namespace pEp {
throw std::invalid_argument("messageToSend must be set");
targets.push_back({messageToSend, notifyHandshake, on_startup, shutdown});
if (!Adapter::on_sync_thread())
semaphore.go();
}

Loading…
Cancel
Save