Commit 58ad76f
Be defensive against flushAndExit getting called twice (#30992)
There's some evidence that this can get triggered twice (like multiple SIGINTs firing under certain configurations).
To ensure the cleanup functions only run once, I'm grabbing them + clearing them before we run them and hit the await points.
GitOrigin-RevId: b3b7953455dc32c2131133013d8d84ce5df4a0131 parent ba9a916 commit 58ad76f
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| |||
0 commit comments