The scheduled callback function doesn't need to do anything, because NetSurf is going to call hlcache_poll anyway after it returns.

This commit is contained in:
Chris Young 2013-04-15 23:53:54 +01:00
parent 6557bae1a2
commit bbb0f4c2b9

View File

@ -2462,7 +2462,11 @@ printf("sig recvd %ld (%ld %ld %ld %ld %ld %ld)\n", signal, winsignal , appsig ,
static void ami_gui_fetch_callback(void *p)
{
hlcache_poll();
/* This doesn't need to do anything - the scheduled event will
* send a message to trigger Wait() to return, thereby causing
* the event function to return, and NetSurf to call
* hlcache_poll() as part of the usual fetch/event loop.
*/
}
void gui_poll(bool active)