fix: clear audio noti

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-01 17:13:04 +08:00
parent c98dbccbd7
commit 00ea891784
2 changed files with 7 additions and 3 deletions

View File

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