-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash with async tree deletions if the executor has not yet initi…
…alized. By the time afterCommand runs, we don't know if executorInit has run so we cannot make any assertions about the state modified by the latter. The code contained one such assertion that relied on the asynchronous tree deleter being initialized, which caused a crash in some circumstances. While doing this, add a test to validate this in the general case for the sandbox module given that this is not the first time we spot a similar issue in it. Follow up to #7527. RELNOTES: None. PiperOrigin-RevId: 268512558
- Loading branch information
1 parent
2d0046a
commit 9ce145a
Showing
2 changed files
with
44 additions
and
1 deletion.
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