fix(android): avoid crash multiplayer with notification (#3931)

This commit is contained in:
Olivier Bouillet
2024-06-22 10:55:40 +02:00
committed by GitHub
parent 91751abc87
commit 104ee703ba

View File

@@ -69,8 +69,6 @@ class VideoPlaybackService : MediaSessionService() {
hidePlayerNotification(player)
val session = mediaSessionsList.remove(player)
session?.release()
sourceActivity = null
if (mediaSessionsList.isEmpty()) {
cleanup()
stopSelf()