mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-25 18:48:43 +00:00
opt: 播放页路由监听销毁时移除订阅
This commit is contained in:
@@ -271,6 +271,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
plPlayerController!.dispose();
|
||||
}
|
||||
videoPlayerServiceHandler.onVideoDetailDispose();
|
||||
VideoDetailPage.routeObserver.unsubscribe(this);
|
||||
// _lifecycleListener.dispose();
|
||||
showStatusBar();
|
||||
// _animationController.dispose();
|
||||
|
||||
Reference in New Issue
Block a user