Open Lakr233 opened 7 months ago
@Kyle-Ye !!!
The current implementation use sleep(5)
as a workaround.
IMO, if we can get the count of iterateBlock
execution. We can use a counter(dispatch_semaphore_t) here and add it in the end of iterateBlock
.
On the caller site, we can then wait it.
Before calling reopen apps, wait for reboot to complete.