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

Recursively call CoreContext::Stop before waiting on anything #462

Merged
merged 1 commit into from Mar 24, 2015

Conversation

codemercenary
Copy link
Contributor

This change ensures that all members of the current context receive an OnStop message before a wait is triggered on child contexts.

It's also gradually becoming clear that it may be necessary to deprecate SignalShutdown(true) as a typical calling convention. We should probably require users to manually call Wait if that's what they want to do.

@codemercenary codemercenary force-pushed the fix-unintendedwait branch 5 times, most recently from 9d30afa to 11dd31d Compare March 24, 2015 19:51
This change ensures that all members of the current context receive an `OnStop` message before a wait is triggered on child contexts.

It's also gradually becoming clear that it may be necessary to deprecate `SignalShutdown(true)` as a typical calling convention.  We should probably require users to manually call `Wait` if that's what they want to do.
gittyupagain pushed a commit that referenced this pull request Mar 24, 2015
Recursively call `CoreContext::Stop` before waiting on anything
@gittyupagain gittyupagain merged commit 65addea into develop Mar 24, 2015
@gittyupagain gittyupagain deleted the fix-unintendedwait branch March 24, 2015 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants