summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WASocketConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/WASocketConnection.cpp')
-rw-r--r--protocols/WhatsApp/src/WASocketConnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WASocketConnection.cpp b/protocols/WhatsApp/src/WASocketConnection.cpp
index 15397f9932..477f463291 100644
--- a/protocols/WhatsApp/src/WASocketConnection.cpp
+++ b/protocols/WhatsApp/src/WASocketConnection.cpp
@@ -135,5 +135,5 @@ void WASocketConnection::forceShutdown() {
WASocketConnection::~WASocketConnection() {
this->forceShutdown();
- //SDLNet_TCP_Close(this->socket);
-} \ No newline at end of file
+ Netlib_CloseHandle(this->hConn);
+}