mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 20:15:58 +08:00
HLS: 返回全部切片数据后,链接断开不报错: #1332
This commit is contained in:
@@ -66,6 +66,7 @@ void HttpTSPlayer::onDisconnect(const SockException &ex) {
|
||||
void HttpTSPlayer::emitOnComplete(const SockException &ex) {
|
||||
if (_on_complete) {
|
||||
_on_complete(ex);
|
||||
_on_complete = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user