Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promises: Ensure all gd._promises resolve before final resolve #521

Merged
merged 1 commit into from
May 10, 2016

Conversation

mdtusz
Copy link
Contributor

@mdtusz mdtusz commented May 10, 2016

Real quick PR.

In brief: ensures that all the promises pushed into gd._promises are resolved before the final resolve.

The call to Lib.syncOrAsync never completes "fast enough" to cause donePlotting to be returned (at least, not in my semi-scientific testing) and all async things should be pushing their promises to gd._promises.

@etpinard
Copy link
Contributor

Looks good. 💃

@mdtusz mdtusz merged commit 5790ac4 into master May 10, 2016
@mdtusz mdtusz deleted the promise-all-promises branch May 10, 2016 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants