Do not use not existing release function on socket.
[clanbomber-server.git] / 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)
        {