Browse Source

重复10次15

TitanWong 1 year ago
parent
commit
1b14691ef9

+ 1 - 1
src/main/java/com/zhili/stationcontrol/tts/service/impl/MusicServiceImpl.java

@@ -55,7 +55,7 @@ public class MusicServiceImpl implements MusicService {
     public void play() {
         synchronized (this) {
             log.info("startCmd:{}, endCmd:{}, repeat:{}", startCmd, endCmd, repeat);
-            log.info("p:{}, p.isAlive:{}", p, p.isAlive());
+            log.info("p:{}, p.isAlive:{}", p, p != null ? p.isAlive() : null);
             if (startCmd) {
                 startCmd = false;
                 if (p != null) {