소스 검색

版本升级维护

yyqxiaoyin 5 년 전
부모
커밋
1062c215f6
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      MKRRadioManager/Classes/MKRRadioManager/MKRWIFIDeviceManager/MKRWIFIDeviceManager.m

+ 3 - 1
MKRRadioManager/Classes/MKRRadioManager/MKRWIFIDeviceManager/MKRWIFIDeviceManager.m

@@ -44,7 +44,9 @@ static inline void wd_playControl_queue(void (^block)(void)){
 - (instancetype)init {
     if (self = [super init]) {
         _upnpErrorCode = -1;
-        [self startUpnp];
+        wd_playControl_queue(^{
+            [self startUpnp];
+        });
         [ASControlTools sharedInstanceUPNP].delegate = self;
     }
     return self;