Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add explicit Q.release #248

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Owner

kriskowal commented Mar 30, 2013

This will flush unhandled errors and remove the process exit event
listener. This is to help in cases where Q is instantiated multiple
times in mocked testing.

Fixes #244

Add explicit Q.release
This will flush unhandled errors and remove the process exit event
listener.  This is to help in cases where Q is instantiated multiple
times in mocked testing.

Fixes #244

Stuk commented Apr 3, 2013

+1
Will be useful in conjunction with a beforeunload warning in the browser

It would also be nice if it returned whether there were any unhandled rejections, so then a decision could be made on whether to show a beforeunload dialog, but I see that the release doesn't know anything about the behaviour it's triggering.

Collaborator

domenic commented May 22, 2013

Superceded by #296.

@domenic domenic closed this May 22, 2013

@kriskowal kriskowal deleted the gh-244 branch Dec 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment