fix connection not being closed with duplicate display namess

This commit is contained in:
AlexandreRouma
2025-11-05 10:23:47 -05:00
committed by GitHub
parent 63766e9d39
commit 640a4c3901

View File

@@ -154,6 +154,9 @@ func displayHandler(sock *websocket.Conn, dispID string, otp string) {
// Release the sending mutex // Release the sending mutex
disp.sockSendMtx.Unlock() disp.sockSendMtx.Unlock()
// Give up
return;
} }
// Add the display to the list // Add the display to the list