You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"use strict";
var q = require("q");
var i;
var _handle = function (value) {
console.log(value);
return value;
};
for (i = 0; i < 1026; i++) {
q(i).then(_handle).then(_handle);
}
Result (on my machine, 1026 loop iteration fails. I do not know if this is machine dependent)
/opt/socketeer/source/node_modules/q/node_modules/asap/asap.js:40
this.task.call();
^
TypeError: Cannot call method 'call' of null
at RawTask.call (/opt/socketeer/source/node_modules/q/node_modules/asap/asap.js:40:19)
at flush (/opt/socketeer/source/node_modules/q/node_modules/asap/raw.js:50:29)
at process._tickCallback (node.js:415:13)
node version: v0.10.25
The text was updated successfully, but these errors were encountered:
I've marked [email protected], 2.0.1 and 2.0.2 as deprecated with a message of "critical race condition fixed in 2.0.3, update now". Hopefully that will keep people from using the broken versions too often.
Minimal example snippet:
Result (on my machine, 1026 loop iteration fails. I do not know if this is machine dependent)
node version: v0.10.25
The text was updated successfully, but these errors were encountered: