Skip to content

Commit

Permalink
fix: #72
Browse files Browse the repository at this point in the history
release() there prevent the player to play once it has been previously stopped
  • Loading branch information
arakneaweb committed Nov 11, 2024
1 parent 9476565 commit 6c42691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/com/radioplayer/RadioPlayerModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class RadioPlayerModule(reactContext: ReactApplicationContext) : ReactContextBas
val player = controller
if (player != null) {
player.stop()
player.release()
//player.release()
}
}
}
Expand Down

0 comments on commit 6c42691

Please sign in to comment.