Skip to content

Commit

Permalink
fix(android): avoid crash multiplayer with notification (#3931)
Browse files Browse the repository at this point in the history
  • Loading branch information
freeboub authored Jun 22, 2024
1 parent 91751ab commit 104ee70
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ class VideoPlaybackService : MediaSessionService() {
hidePlayerNotification(player)
val session = mediaSessionsList.remove(player)
session?.release()
sourceActivity = null

if (mediaSessionsList.isEmpty()) {
cleanup()
stopSelf()
Expand Down

0 comments on commit 104ee70

Please sign in to comment.