mirror of
https://github.com/s00500/ESPUI.git
synced 2024-09-07 22:11:50 +00:00
Merge branch 's00500:master' into master
This commit is contained in:
commit
8bca2e503b
@ -449,6 +449,11 @@ void ESPUIClass::onWsEvent(
|
||||
}
|
||||
else
|
||||
{
|
||||
if(type == WS_EVT_CONNECT)
|
||||
{
|
||||
ws->cleanupClients();
|
||||
}
|
||||
|
||||
if (MapOfClients.end() == MapOfClients.find(client->id()))
|
||||
{
|
||||
// Serial.println("ESPUIClass::OnWsEvent:Create new client.");
|
||||
|
Loading…
Reference in New Issue
Block a user