尝试优化多层弹幕所占资源

This commit is contained in:
orz12
2024-01-09 15:52:22 +08:00
parent 449aa69033
commit c9fd6304fd
2 changed files with 4 additions and 2 deletions

View File

@ -213,6 +213,8 @@ class _VideoDetailPageState extends State<VideoDetailPage>
videoIntroController.isPaused = true;
plPlayerController!.removeStatusLister(playerListener);
plPlayerController!.pause();
plPlayerController!.danmakuController?.pause();
plPlayerController!.danmakuController?.clear();
}
super.didPushNext();
}