Results 3 comments of sjffly

The reason for this problem is probably the total parameter except the problem, the value is NaN, you can check if this is the problem.

![](http://7xrp7o.com1.z0.glb.clouddn.com/problem.png) 为什么这段代码执行的结果是 正常执行 nextTick延迟执行1 nextTick延迟执行2 setImmediate延迟执行1 setImmediate延迟执行2 强势插入 按照上面你的观点,应该是下面的结果: 正常执行 nextTick延迟执行1 nextTick延迟执行2 setImmediate延迟执行1 强势插入 setImmediate延迟执行2 请解惑一下,深入浅出Node.js里面给出的结果也是 正常执行 nextTick延迟执行1 nextTick延迟执行2 setImmediate延迟执行1 强势插入 setImmediate延迟执行2

I also have the same problem in the 6.x version.I found the problem is in this.close() method in ui/baseUI.js.More specific is the combination of ```js this.rl.pause() this.rl.close(). ``` I also...