mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-01-26 08:42:19 +01:00
close event gracefully so pending messages get sent as well
This commit is contained in:
@@ -142,7 +142,7 @@ void AsyncEventSourceClient::_onDisconnect(){
|
||||
|
||||
void AsyncEventSourceClient::close(){
|
||||
if(_client != NULL)
|
||||
_client->close(true);
|
||||
_client->close();
|
||||
}
|
||||
|
||||
void AsyncEventSourceClient::write(const char * message, size_t len){
|
||||
|
||||
Reference in New Issue
Block a user