summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-16 19:43:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-16 19:43:26 +0300
commit5977cee8fcc4dbeec79963cefcb3ef9e0f07a2af (patch)
tree3b6ec554facf5646d3325cf4eafbbe4e5f2a0406 /protocols/WhatsAppWeb/src
parent482874d1a1e264984461d92f5bf77f3bdba1afa1 (diff)
minor fix
Diffstat (limited to 'protocols/WhatsAppWeb/src')
-rw-r--r--protocols/WhatsAppWeb/src/server.cpp2
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();