add missing default case of `SDCallbackQueue` sync/async function
This commit is contained in:
parent
bc23f12ecb
commit
a8c61e21f4
|
@ -94,6 +94,9 @@ static void SDSafeExecute(SDCallbackQueue *callbackQueue, dispatch_block_t _Nonn
|
|||
case SDCallbackPolicyInvoke:
|
||||
block();
|
||||
break;
|
||||
default:
|
||||
SDSafeExecute(self, block, NO);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,6 +111,9 @@ static void SDSafeExecute(SDCallbackQueue *callbackQueue, dispatch_block_t _Nonn
|
|||
case SDCallbackPolicyInvoke:
|
||||
block();
|
||||
break;
|
||||
default:
|
||||
SDSafeExecute(self, block, YES);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue