arduinoWebSockets
arduinoWebSockets copied to clipboard
dropNativeClient() on NULL pointer
Hi, i connected the maximum number of 5 clients to the server the 6th causes a crash, because of this line https://github.com/Links2004/arduinoWebSockets/blob/f55bf8d4ededd2d7acf36788e5cfe6e6393dd235/src/WebSocketsServer.cpp#L622
as client is set to NULL, the call dropNativeClient(client) should be removed - at least it worked for me