Also fix setInterval for #481.
This commit is contained in:
parent
b139d97f3d
commit
382dbb500c
2 changed files with 8 additions and 0 deletions
|
@ -32,3 +32,4 @@ global.clearImmediate = timers.clearImmediate
|
|||
# timeout in browser process.
|
||||
if process.type is 'browser'
|
||||
global.setTimeout = wrapWithActivateUvLoop timers.setTimeout
|
||||
global.setInterval = wrapWithActivateUvLoop timers.setInterval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue