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
The line in question is in this part of the defer method when the promise.stack is set. Let me know if you need more info.
if (Q.longStackSupport && hasStacks) {
try {
throw new Error();
} catch (e) {
// NOTE: don't try to use `Error.captureStackTrace` or transfer the
// accessor around; that causes memory leaks as per GH-111. Just
// reify the stack trace as a string ASAP.
//
// At the same time, cut off the first line; it's always just
// "[object Promise]\n", as per the `toString`.
promise.stack = e.stack.substring(e.stack.indexOf("\n") + 1);
}
}
When calling Q.defer() using node 0.12.0 I got the following error msg:
The line in question is in this part of the defer method when the promise.stack is set. Let me know if you need more info.
Here's a link to the line in question: https://github.com/kriskowal/q/blob/v1/q.js#L550
The text was updated successfully, but these errors were encountered: