mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 10:46:16 +01:00
send websocket close message to agent
This commit is contained in:
@@ -365,7 +365,7 @@ func (sys *System) closeSSHConnection() {
|
||||
// The system will be set as down a few seconds later if the connection is not re-established.
|
||||
func (sys *System) closeWebSocketConnection() {
|
||||
if sys.WsConn != nil {
|
||||
sys.WsConn.Close()
|
||||
sys.WsConn.Close(nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user