😆 Fix contunue player running after close the details dilog

This commit is contained in:
Anas Elgarhy 2022-08-22 17:27:44 +02:00
parent 5b7fa7e6c8
commit c78566aef9

View file

@ -104,7 +104,7 @@ public class AyahDetailsDialog extends JDialog implements PlayerListener {
}
private void close() {
if (isPlaying) {
if (audioPlayer != null) {
audioPlayer.stop();
audioPlayer = null;
}