mirror of
https://github.com/anas-elgarhy/Ayah-intellij.git
synced 2024-08-15 00:43:43 +00:00
😆 Fix contunue player running after close the details dilog
This commit is contained in:
parent
5b7fa7e6c8
commit
c78566aef9
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ public class AyahDetailsDialog extends JDialog implements PlayerListener {
|
|||
}
|
||||
|
||||
private void close() {
|
||||
if (isPlaying) {
|
||||
if (audioPlayer != null) {
|
||||
audioPlayer.stop();
|
||||
audioPlayer = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue