Commit 85414bc
committed
fix(atlas): guard BootSequence against stale closure / empty lines
- Capture BOOT_LINES[i] in a local before the setLines callback to avoid
reading it after i has been incremented by the next scheduled tick
- Render empty/undefined lines as nbsp instead of calling .startsWith1 parent f61039f commit 85414bc
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
265 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
266 | 269 | | |
267 | 270 | | |
268 | 271 | | |
| |||
0 commit comments