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

Fixed a failed check for Tracker.flush() during a Tracker.Computation #3037

Closed
wants to merge 2 commits into from
Closed

Fixed a failed check for Tracker.flush() during a Tracker.Computation #3037

wants to merge 2 commits into from

Conversation

@PooMaster
Copy link
Contributor

@PooMaster PooMaster commented Nov 7, 2014

When the Tracker.flush() function is called while a Tracker.Computation is running, an error is usually raised. However, a small oversight in the code causes this check to fail after a nested Tracker.Computation completes. This could lead to an infinite loop.

This change adds a test proving the existence of the bug and the fix for it.

@glasser
Copy link
Member

@glasser glasser commented Jan 9, 2015

Thanks, merged!

mitar added a commit to peerlibrary/meteor-server-autorun that referenced this pull request Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants