on minimize iOS will put application to background and suspend all threads.
if background time is longer than MAX_FINALIZE_NANOS and watchdog was
waiting on object -- sleep will exit before finalizer and will cause
$classname.finalize() timed out after 10 seconds
Workaround:
split wait interval into two. This will allow to survive this case
Rootcase:
on minimize iOS will put application to background and suspend all threads. if background time is longer than MAX_FINALIZE_NANOS and watchdog was waiting on object -- sleep will exit before finalizer and will cause
$classname
.finalize() timed out after 10 secondsWorkaround:
split wait interval into two. This will allow to survive this case