-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent unclean dealloc of SystemState (#33128)
* Prevent unclean dealloc of SystemState Per current documentation calling Shutdown while any controller is alive is already prohibited. Also rename the recently-introduced isShutdown method to isShutDown. * Add comments and remove the VerifyOrDie() Upon closer reading Shutdown() was already guaranteed to be called and ensures that the reference count is 0 at that time, but the documentation was wrong.
- Loading branch information
1 parent
2e6b9ec
commit 1109014
Showing
3 changed files
with
13 additions
and
5 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
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