summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-05-17 14:14:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-05-17 14:14:42 +0300
commitd43af44272d2ea256d60fb7169b8b33fbb602089 (patch)
tree129413817569aa2f8e5a5d3ec5d6b9ff10c96e06 /protocols/JabberG/src/jabber_thread.cpp
parent18a878f0d3d5429d224fb7db262bfe585d1d8aa0 (diff)
ordnung muss sein
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 908773f418..d68fd7f2d4 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1985,9 +1985,10 @@ void ThreadData::close(void)
void ThreadData::shutdown(void)
{
+ bShutdown = true;
+
if (s)
Netlib_Shutdown(s);
- bShutdown = true;
}
int ThreadData::recv(char* buf, size_t len)