diff --git a/android/src/main/java/com/brentvatne/exoplayer/VideoPlaybackService.kt b/android/src/main/java/com/brentvatne/exoplayer/VideoPlaybackService.kt index ba2590e4..1a0da5be 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/VideoPlaybackService.kt +++ b/android/src/main/java/com/brentvatne/exoplayer/VideoPlaybackService.kt @@ -69,8 +69,6 @@ class VideoPlaybackService : MediaSessionService() { hidePlayerNotification(player) val session = mediaSessionsList.remove(player) session?.release() - sourceActivity = null - if (mediaSessionsList.isEmpty()) { cleanup() stopSelf()