mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-02-28 19:20:54 +08:00
防止忽略shutdown事件
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user