@@ -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;