防止忽略shutdown事件
This commit is contained in:
parent
3e869c1f1d
commit
f1555a5501
|
|
@ -386,6 +386,8 @@ void HlsPlayerImp::onShutdown(const SockException &ex) {
|
|||
strong_self->PlayerImp<HlsPlayer, PlayerBase>::onShutdown(ex);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
PlayerImp<HlsPlayer, PlayerBase>::onShutdown(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,6 +53,8 @@ void TsPlayerImp::onShutdown(const SockException &ex) {
|
|||
strong_self->PlayerImp<TsPlayer, PlayerBase>::onShutdown(ex);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
PlayerImp<TsPlayer, PlayerBase>::onShutdown(ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue