Update HomeSpan.cpp
This commit is contained in:
parent
7ab8354ed7
commit
e10025bd54
|
|
@ -250,8 +250,6 @@ void Span::pollTask() {
|
||||||
currentClient++;
|
currentClient++;
|
||||||
} else {
|
} else {
|
||||||
LOG1("** Client #%d DISCONNECTED (%lu sec)\n",currentClient->clientNumber,millis()/1000);
|
LOG1("** Client #%d DISCONNECTED (%lu sec)\n",currentClient->clientNumber,millis()/1000);
|
||||||
// currentClient->client.stop();
|
|
||||||
// delay(5);
|
|
||||||
clearNotify(&*currentClient); // clear all notification requests for this connection
|
clearNotify(&*currentClient); // clear all notification requests for this connection
|
||||||
currentClient=hapList.erase(currentClient); // remove HAPClient connection
|
currentClient=hapList.erase(currentClient); // remove HAPClient connection
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue