From bae0aaff8d6603b1b7bd551757b77cdd5f24d6d6 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Fri, 5 Oct 2018 08:15:07 +0200 Subject: [PATCH] nicer --- Adapter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adapter.cc b/Adapter.cc index 564adec..fe8e80e 100644 --- a/Adapter.cc +++ b/Adapter.cc @@ -78,8 +78,8 @@ namespace pEp { void Adapter::shutdown() { - _inject_sync_event(nullptr, nullptr); if (Adapter::_sync_thread) { + _inject_sync_event(nullptr, nullptr); Adapter::_sync_thread->join(); delete Adapter::_sync_thread; Adapter::_sync_thread = nullptr;