Skip to content

setTimeout can fire twice #1191

@trevnorris

Description

@trevnorris

Test to reproduce:

$ ./iojs -e "setTimeout(function() { console.log('hi'); this.unref(); this.ref(); }, 10)"
hi
hi

I haven't had the time to investigate, but want to make sure this issue can be tracked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.timersIssues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions