mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS4: Fix RTC connection dispose bug
This commit is contained in:
parent
4871c616b8
commit
55426c6331
1 changed files with 5 additions and 0 deletions
|
@ -2139,6 +2139,11 @@ srs_error_t SrsRtcConnection::on_connection_established()
|
||||||
{
|
{
|
||||||
srs_error_t err = srs_success;
|
srs_error_t err = srs_success;
|
||||||
|
|
||||||
|
// Ignore if disposing.
|
||||||
|
if (disposing_) {
|
||||||
|
return err;
|
||||||
|
}
|
||||||
|
|
||||||
// If DTLS done packet received many times, such as ARQ, ignore.
|
// If DTLS done packet received many times, such as ARQ, ignore.
|
||||||
if(ESTABLISHED == state_) {
|
if(ESTABLISHED == state_) {
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue