Commit f1555a55 by xiongziliang

防止忽略shutdown事件

parent 3e869c1f
......@@ -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);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论