• Iñaki Baz Castillo's avatar
    Fix Worker crash when closing WebRtcServer with active WebRtcTransports (#1390) · d33cb887
    由 Iñaki Baz Castillo 提交于
    * Fix Worker crash when closing WebRtcServer with active WebRtcTransports
    
    Fixes #1388
    
    ### Details
    
    - `WebRtcServer` destructor must first close its `WebRtcTransports` and then the UDP sockets and TCP servers (so also its TCP connections). Otherwise those `WebRtcTransports` will try to send DTLS Close Alert on an already closed/freed `UdpSocketHandle` or `TcpConnectionHandle`.
    
    ### Steps to verify
    
    1. Have `WebRtcServer` running and a client connected.
    2. In server side call `webRtcServer.close()`.
    3. It should not crash anymore.
    
    * Update CHANGELOG
    d33cb887
名称
最后提交
最后更新
..
deps 正在载入提交数据...
fbs 正在载入提交数据...
fuzzer 正在载入提交数据...
include 正在载入提交数据...
scripts 正在载入提交数据...
src 正在载入提交数据...
subprojects 正在载入提交数据...
test 正在载入提交数据...
.clang-format 正在载入提交数据...
.clang-tidy 正在载入提交数据...
Cargo.toml 正在载入提交数据...
Dockerfile 正在载入提交数据...
Dockerfile.alpine 正在载入提交数据...
Makefile 正在载入提交数据...
build.rs 正在载入提交数据...
meson.build 正在载入提交数据...
meson_options.txt 正在载入提交数据...
tasks.py 正在载入提交数据...