Browse Source

detaching sync thread

LPA-1
Volker Birk 7 years ago
parent
commit
6027577b0d
  1. 4
      Adapter.cc

4
Adapter.cc

@ -43,8 +43,10 @@ namespace pEp {
{
lock_guard<mutex> lock(mtx());
if (!_sync_thread)
if (!_sync_thread) {
_sync_thread = new thread(sync_thread, obj);
_sync_thread->detach();
}
}
}

Loading…
Cancel
Save