mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 21:46:57 +03:00
Schedule an immediate fetch poll if fetch is active
This commit is contained in:
parent
6090e36da2
commit
dbebd4c1ce
@ -2459,8 +2459,14 @@ printf("sig recvd %ld (%ld %ld %ld %ld %ld %ld)\n", signal, winsignal , appsig ,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void ami_gui_fetch_callback(void *p)
|
||||||
|
{
|
||||||
|
hlcache_poll();
|
||||||
|
}
|
||||||
|
|
||||||
void gui_poll(bool active)
|
void gui_poll(bool active)
|
||||||
{
|
{
|
||||||
|
if(active) schedule(0, ami_gui_fetch_callback, NULL);
|
||||||
ami_get_msg();
|
ami_get_msg();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user