mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-19 10:12:06 +02:00
feat: Support Arduino Nano 33 IoT, MKR WIFI 1010 (#898)
This commit is contained in:
@ -534,7 +534,11 @@ void WebSocketsClient::clientDisconnect(WSclient_t * client) {
|
||||
#if(WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266_ASYNC)
|
||||
client->status = WSC_NOT_CONNECTED;
|
||||
#else
|
||||
delete client->tcp;
|
||||
#if(WEBSOCKETS_NETWORK_TYPE == NETWORK_WIFI_NINA)
|
||||
// does not support delete (no destructor)
|
||||
#else
|
||||
delete client->tcp;
|
||||
#endif
|
||||
#endif
|
||||
client->tcp = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user