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