mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix player listener
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1132,8 +1132,6 @@ class PlPlayerController {
|
||||
|
||||
/// 移除事件监听
|
||||
Future<void> removeListeners() async {
|
||||
_statusListeners.clear();
|
||||
_positionListeners.clear();
|
||||
await Future.wait(subscriptions.map((e) => e.cancel()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user