Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recursively call
CoreContext::Stop
before waiting on anything
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.
- Loading branch information
1 parent
6010259
commit 9d30afa
Showing
2 changed files
with
102 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters