remove possible race condition

ENGINE-781
Volker Birk 3 years ago
parent 0b63dcb430
commit a751f8e219

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