(websocket server) reset client websocket callback when the connection is closed
This commit is contained in:
@ -136,6 +136,8 @@ namespace ix
|
||||
logError(ss.str());
|
||||
}
|
||||
|
||||
webSocket->setOnMessageCallback(nullptr);
|
||||
|
||||
// Remove this client from our client set
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(_clientsMutex);
|
||||
|
@ -6,4 +6,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define IX_WEBSOCKET_VERSION "9.10.0"
|
||||
#define IX_WEBSOCKET_VERSION "9.10.1"
|
||||
|
Reference in New Issue
Block a user