Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-01 16:37:49 +08:00
parent 4a68122c31
commit c98dbccbd7
7 changed files with 58 additions and 39 deletions

View File

@@ -1529,6 +1529,7 @@ class PlPlayerController {
return;
}
_playerCount.value = 0;
videoPlayerServiceHandler.clear();
Utils.channel.setMethodCallHandler(null);
pause();
try {
@@ -1559,7 +1560,6 @@ class PlPlayerController {
_videoPlayerController = null;
}
_instance = null;
videoPlayerServiceHandler.clear();
} catch (err) {
debugPrint(err.toString());
}