Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: simplify Environment::HandleCleanup
- Make the HandleCleanup a struct, and make the queue a std::list, iterate over it in CleanupHandles() and clear it after that. - Put the handle cleanup registration into a method and document that they will not be called in the one environemt per process setup. PR-URL: #19319 Reviewed-By: Anna Henningsen <email@example.com> Reviewed-By: Jackson Tian <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com>
- Loading branch information
Showing with 48 additions and 51 deletions.