Mercurial > dwindows
diff ios/dw.m @ 2635:3ec675648cf5
iOS: _dw_main_iteration() never seems to return NO.
So remove the while() and just let it loop on trylock.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 11 Aug 2021 11:46:36 +0000 |
parents | 401a3b9f21ba |
children | b7cc83cf70fa |
line wrap: on
line diff
--- 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