feat:fix dirty props cannot be rendered in promise
This commit is contained in:
@@ -198,8 +198,10 @@ - (BOOL)interceptType:(NSString *)type command:(NSString *)cmd payload:(NSDictio
|
||||
} @finally {
|
||||
DoricLog(@"Unlock:%@", payload);
|
||||
dispatch_semaphore_t semaphore = self.semaphores[callId];
|
||||
[self.semaphores removeObjectForKey:callId];
|
||||
DC_UNLOCK(semaphore);
|
||||
if (semaphore) {
|
||||
[self.semaphores removeObjectForKey:callId];
|
||||
DC_UNLOCK(semaphore);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user