We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc16056 commit f34420dCopy full SHA for f34420d
internal/app/controller/uiServer.go
@@ -89,7 +89,10 @@ func (a *ApiServer) PublishUiProtocol(protocol []UiProtocolEntry) {
89
}
90
91
func (a *ApiServer) disconnect(conn *websocket.Conn) {
92
- conn.Close()
+ err := conn.Close()
93
+ if err != nil {
94
+ log.Println("Could not disconnect from websocket conn: ", err)
95
+ }
96
for i, c := range a.connections {
97
if c == conn {
98
a.connections = append(a.connections[:i], a.connections[i+1:]...)
0 commit comments