diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/WhatsAppWeb/src/server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/WhatsAppWeb/src/server.cpp b/protocols/WhatsAppWeb/src/server.cpp index b48ab498d4..220e874043 100644 --- a/protocols/WhatsAppWeb/src/server.cpp +++ b/protocols/WhatsAppWeb/src/server.cpp @@ -236,6 +236,8 @@ void WhatsAppProto::OnStartSession(const JSONNode &root) void WhatsAppProto::ServerThread(void *) { + m_bTerminated = false; + while (ServerThreadWorker()) ; ShutdownSession(); |