Rabbit nitpicks 3 and new MangoHud config

This commit is contained in:
DatCaptainHorse
2025-11-07 15:50:42 +02:00
parent 9bee9d4935
commit 9576327863
4 changed files with 55 additions and 5 deletions

View File

@@ -402,7 +402,7 @@ func (sp *StreamProtocol) handleStreamPush(stream network.Stream) {
slog.Debug("Stream push connection closed by peer", "peer", stream.Conn().RemotePeer(), "error", err)
if room != nil {
room.Close()
sp.incomingConns.Set(room.Name, nil)
sp.incomingConns.Delete(room.Name)
}
return
}
@@ -411,7 +411,7 @@ func (sp *StreamProtocol) handleStreamPush(stream network.Stream) {
_ = stream.Reset()
if room != nil {
room.Close()
sp.incomingConns.Set(room.Name, nil)
sp.incomingConns.Delete(room.Name)
}
return
}