Browse Source

FIXME!

sync
Volker Birk 6 years ago
parent
commit
825c69b726
  1. 2
      Adapter.cc
  2. 3
      Adapter.hxx

2
Adapter.cc

@ -43,7 +43,7 @@ namespace pEp {
{
try {
if (ev == nullptr) {
q.clear;
q.clear();
q.push_back(ev);
}
else {

3
Adapter.hxx

@ -56,8 +56,7 @@ namespace pEp {
_shutdown(obj);
if (_sync_thread) {
_sync_thread->detach();
delete _sync_thread;
// FIXME: small memory leak, because thread object is not released
_sync_thread = nullptr;
}
}

Loading…
Cancel
Save