don't exit
authorVolker Birk <vb@pep-project.org>
Sun, 03 Jul 2016 00:50:41 +0200
changeset 1403975758c4320
parent 139 70232b0fba50
child 141 95ae11dfbc8f
don't exit
pEpCOMServerAdapter.h
     1.1 --- a/pEpCOMServerAdapter.h	Sun Jul 03 00:11:32 2016 +0200
     1.2 +++ b/pEpCOMServerAdapter.h	Sun Jul 03 00:50:41 2016 +0200
     1.3 @@ -26,6 +26,8 @@
     1.4  
     1.5      void start_gatekeeper()
     1.6      {
     1.7 +        this->Lock(); // never exit
     1.8 +
     1.9          try {
    1.10              gatekeeper_thread = new thread(gatekeeper, this);
    1.11              gatekeeper_thread->detach();