FHEM/01_FHEMWEB.pm: clean up on Websocket close.

git-svn-id: https://svn.fhem.de/fhem/trunk@29751 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2025-03-14 20:26:16 +00:00
parent 371909f660
commit c913e8ea62

View File

@@ -398,7 +398,7 @@ FW_Read($$)
if($op == 8) {
# Close, Normal, empty mask. #104718
TcpServer_WriteBlocking($hash, pack("CCn",0x88,0x2,1000));
TcpServer_Close($hash, 1, !$hash->{inform});
CommandDelete(undef, $name); // Want to call FW_Undef
return;
} elsif($op == 9) { # Ping