Commit a25ffa86 by Edgar HIPP

Using setTimeout instead of setImmediate for nodev4+

parent 00f76531
...@@ -96,7 +96,7 @@ class ImageModule ...@@ -96,7 +96,7 @@ class ImageModule
catch e catch e
@on('error',e) @on('error',e)
f=()=>imR.popQrQueue("rendered-" + num) f=()=>imR.popQrQueue("rendered-" + num)
setImmediate f setTimeout f, 1
finished:-> finished:->
on:(event,data)-> on:(event,data)->
if event=='error' if event=='error'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment