This commit is contained in:
Dimon4eg 2019-05-08 22:24:39 +03:00
parent 45d40dc159
commit 636a69e9e1

View File

@ -11,13 +11,14 @@ namespace ix
WebSocketPoll::WebSocketPoll(WebSocket* websocket) WebSocketPoll::WebSocketPoll(WebSocket* websocket)
{ {
bindWebsocket(websocket);
} }
WebSocketPoll::~WebSocketPoll() WebSocketPoll::~WebSocketPoll()
{ {
if (!_messages.empty()) if (!_messages.empty())
{ {
// not handled all messages
} }
bindWebsocket(nullptr); bindWebsocket(nullptr);