forked from enlightenment/efl
evas/async_events: missed counting fix in unblocking _process()
SVN revision: 82834
This commit is contained in:
parent
b557bd9e0d
commit
028e7e9ed2
|
@ -177,13 +177,13 @@ _evas_async_events_process_single(void)
|
||||||
EAPI int
|
EAPI int
|
||||||
evas_async_events_process(void)
|
evas_async_events_process(void)
|
||||||
{
|
{
|
||||||
int count = 0;
|
int nr, count = 0;
|
||||||
|
|
||||||
if (_fd_read == -1) return 0;
|
if (_fd_read == -1) return 0;
|
||||||
|
|
||||||
_evas_async_events_fork_handle();
|
_evas_async_events_fork_handle();
|
||||||
|
|
||||||
while (_evas_async_events_process_single() > 0) count++;
|
while ((nr = _evas_async_events_process_single()) > 0) count += nr;
|
||||||
|
|
||||||
evas_cache_image_wakeup();
|
evas_cache_image_wakeup();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue