liujc 1 year ago
parent
commit
c335132779

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/LiveRoomServiceImpl.java

@@ -2313,7 +2313,7 @@ public class LiveRoomServiceImpl extends ServiceImpl<LiveRoomDao, LiveRoom> impl
         RoomSpeakerInfo roomSpeakerInfo = speakerCache.get();
 
         //关闭直播
-        if (sequence.equals(roomSpeakerInfo.getSequence())) {
+        if (StringUtils.isNotBlank(sequence) && sequence.equals(roomSpeakerInfo.getSequence())) {
             setPushStatus(roomSpeakerInfo.getRoomUid(), 0);
         }