Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setTimeout and setInterval not working #144

Closed
gardere opened this issue Aug 6, 2018 · 1 comment
Closed

setTimeout and setInterval not working #144

gardere opened this issue Aug 6, 2018 · 1 comment

Comments

@gardere
Copy link

gardere commented Aug 6, 2018

The second parameter (after / interval) is not taken into account.
It might be a bracketing error?

For instance, should

const tmr = host.setTimeout(Decontextify.value(function() {
   callback.apply(null, args)
 , delay));

actually be

const tmr = host.setTimeout(Decontextify.value(function() {
   callback.apply(null, args)
 ), delay);

?

@patriksimek
Copy link
Owner

Yep, thanks for reporting the issue. Fixed in 3.6.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants