mirror of
https://github.com/AlexandreRouma/wiscast.git
synced 2026-04-20 08:22:42 +00:00
fix connection not being closed with duplicate display namess
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user