fix crash when webrtcICETCPMuxAddress is already taken
This commit is contained in:
@@ -137,7 +137,6 @@ func newWebRTCServer(
|
||||
if iceTCPMuxAddress != "" {
|
||||
tcpMuxLn, err = net.Listen("tcp", iceTCPMuxAddress)
|
||||
if err != nil {
|
||||
tcpMuxLn.Close()
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user