remove possible race condition

synchronous
Volker Birk 3 years ago
parent 114600ee17
commit 72dbceb8c9

@ -80,8 +80,8 @@ namespace pEp {
void CallbackDispatcher::stop_sync()
{
callback_dispatcher.semaphore.go();
pEp::Adapter::shutdown();
callback_dispatcher.semaphore.go();
for (auto target : callback_dispatcher.targets) {
if (target.notifyHandshake)

Loading…
Cancel
Save