mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
Rabbit nitpicks 3 and new MangoHud config
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user