diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-16 19:43:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-16 19:43:26 +0300 |
commit | 5977cee8fcc4dbeec79963cefcb3ef9e0f07a2af (patch) | |
tree | 3b6ec554facf5646d3325cf4eafbbe4e5f2a0406 /protocols/WhatsAppWeb/src | |
parent | 482874d1a1e264984461d92f5bf77f3bdba1afa1 (diff) |
minor fix
Diffstat (limited to 'protocols/WhatsAppWeb/src')
-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(); |