Skip to content

Commit 16688b7

Browse files
committed
cleanup
1 parent be83ff7 commit 16688b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internals/server/websocket.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ func register(req *http.Request, socket *websocket.Conn) string {
7676

7777
func waitForClient(clientID string, timeout time.Duration) (*websocket.Conn, error) {
7878
clientsMutex.Lock()
79-
if conn, ok := clients[clientID]; ok {
79+
conn, ok := clients[clientID]
80+
if ok {
8081
clientsMutex.Unlock()
8182
return conn, nil
8283
}

0 commit comments

Comments
 (0)