浏览代码

版本升级维护

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;