mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
Always wait for at least some time, as it's ambiguous as to whether a 0.0s timerequest is valid.
This commit is contained in:
parent
cd48860207
commit
4b14f9ff37
@ -301,6 +301,8 @@ nserror ami_schedule(int t, void (*callback)(void *p), void *p)
|
||||
{
|
||||
struct nscallback *nscb;
|
||||
|
||||
if(t == 0) t = 1;
|
||||
|
||||
LOG("Scheduling callback %p with arg %p at time %d", callback, p, t);
|
||||
|
||||
if(schedule_list == NULL) return NSERROR_INIT_FAILED;
|
||||
|
Loading…
Reference in New Issue
Block a user