diff --git a/display.go b/display.go index 46912a2..666f525 100644 --- a/display.go +++ b/display.go @@ -154,6 +154,9 @@ func displayHandler(sock *websocket.Conn, dispID string, otp string) { // Release the sending mutex disp.sockSendMtx.Unlock() + + // Give up + return; } // Add the display to the list @@ -251,4 +254,4 @@ func displayHandler(sock *websocket.Conn, dispID string, otp string) { // Release the display list displaysLck.Unlock(); -} \ No newline at end of file +}