mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +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);
|
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);
|
strong_self->PlayerImp<TsPlayer, PlayerBase>::onShutdown(ex);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
PlayerImp<TsPlayer, PlayerBase>::onShutdown(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user