# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1628682396 0 # Node ID 3ec675648cf5b22f403f08d8711b3970727ef355 # Parent 4d1bcfc617b221a1bbe1565af79541c9906daf23 iOS: _dw_main_iteration() never seems to return NO. So remove the while() and just let it loop on trylock. diff -r 4d1bcfc617b2 -r 3ec675648cf5 ios/dw.m --- a/ios/dw.m Mon Aug 09 23:36:23 2021 +0000 +++ b/ios/dw.m Wed Aug 11 11:46:36 2021 +0000 @@ -9825,10 +9825,7 @@ while(pthread_mutex_trylock(mutex) != 0) { /* Process any pending events */ - while(_dw_main_iteration([NSDate dateWithTimeIntervalSinceNow:0.01])) - { - /* Just loop */ - } + _dw_main_iteration([NSDate dateWithTimeIntervalSinceNow:0.01]); } } else