mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-08 18:54:44 +00:00
bug?
This commit is contained in:
1 parent
5ca6b34177
commit
4e8058193f
2 files changed
+6
-3
No files matched your search
@@ -181,8 +181,10 @@ public class AllMusicCore {
|
||||
* 停止播放
|
||||
*/
|
||||
private static void stopPlaying() {
|
||||
player.closePlayer();
|
||||
hud.clear();
|
||||
if (player != null)
|
||||
player.closePlayer();
|
||||
if (hud != null)
|
||||
hud.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -198,7 +200,8 @@ public class AllMusicCore {
|
||||
* 更新显示内容
|
||||
*/
|
||||
public static void hudUpdate() {
|
||||
hud.update();
|
||||
if (hud != null)
|
||||
hud.update();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user