Do not use not existing release function on socket.
authorDaniel Giritzer <daniel.giritzer@siemens.com>
Wed, 19 Dec 2018 12:00:26 +0000 (13:00 +0100)
committerDaniel Giritzer <daniel.giritzer@siemens.com>
Wed, 19 Dec 2018 12:00:26 +0000 (13:00 +0100)
src/client.cpp

index 06b373a..e9ac43b 100644 (file)
@@ -69,7 +69,6 @@ Client::~Client()
        if (this->isConnected())
        {
                this->_socket.close();
-               this->_socket.release(nullptr);
        }
        if (this->_ios != nullptr)
        {