Fix to clean up others sockets if the shell server

This commit is contained in:
iliajie
2022-11-13 23:43:58 +02:00
parent e6795f28f9
commit b62fb504ac
2 changed files with 1 additions and 2 deletions

View File

@@ -254,5 +254,3 @@ else {
}
print "</script>\n";
&ui_print_footer();
&cleanup_old_websockets([$port]);

View File

@@ -166,3 +166,4 @@ Net::WebSocket::Server->new(
)->start;
print STDERR "exited websockets server\n";
&cleanup_miniserv($port);
&cleanup_old_websockets([$port]);