defunctzombie / node-process

process information for node.js and browsers
MIT License
122 stars 62 forks source link

in cleanUpNextTick, there might be chances where currentQueue is null then it throws exception on accessing currentQueue.length #51

Closed lyonlai closed 8 years ago

calvinmetcalf commented 8 years ago

out of curiosity what exactly are you doing that leads to this happening, last time something like this came up it turned out to be a subtle bug in firefox that led to it. So I'd really love to be able to reproduce this.

defunctzombie commented 8 years ago

Agreed with @calvinmetcalf, we need this reproduced with and tests added

calvinmetcalf commented 8 years ago

56 corroborates this and adds some more details, opened #57 which is similar to this but just early returns if it looks like we shouldn't get here