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:
@@ -398,7 +398,7 @@ FW_Read($$)
|
|||||||
if($op == 8) {
|
if($op == 8) {
|
||||||
# Close, Normal, empty mask. #104718
|
# Close, Normal, empty mask. #104718
|
||||||
TcpServer_WriteBlocking($hash, pack("CCn",0x88,0x2,1000));
|
TcpServer_WriteBlocking($hash, pack("CCn",0x88,0x2,1000));
|
||||||
TcpServer_Close($hash, 1, !$hash->{inform});
|
CommandDelete(undef, $name); // Want to call FW_Undef
|
||||||
return;
|
return;
|
||||||
|
|
||||||
} elsif($op == 9) { # Ping
|
} elsif($op == 9) { # Ping
|
||||||
|
|||||||
Reference in New Issue
Block a user