Commit 4daeb57
fix(kernel-browser-runtime): snapshot map keys before iteration in terminateAll
Use Array.from() to snapshot uiVats keys before iterating, consistent
with the pattern in PlatformServicesServer.ts. Prevents potential issues
from map modification during iteration.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8c8c2fa commit 4daeb57
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
0 commit comments