v1.1.1: Fix audio continuing in background when leaving player

This commit is contained in:
Michael committed 2025-12-10 18:08:16 +01:00
1 parent ee1152ee95
commit f46216aa90
2 files changed
+4 -1

No files matched your search

@@ -240,6 +240,9 @@ class _NativePlayerScreenState extends ConsumerState<NativePlayerScreen> {
_clockTimer?.cancel();
_controlsTimer?.cancel();
_liveWatchdog?.cancel();
// Stop playback first to prevent audio continuing in background
_player.stop();
_player.dispose();
_xtreamService?.dispose();