Commit a43e629
committed
fix(cli): move spinner cleanup to finally block
- Moved spinner.stop() from catch block to finally block
- Ensures interval cleanup in all edge cases (idempotent call)
- Prevents potential memory leak if exception bypasses catch1 parent d5badde commit a43e629
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
998 | | - | |
999 | 998 | | |
1000 | 999 | | |
1001 | 1000 | | |
| |||
1006 | 1005 | | |
1007 | 1006 | | |
1008 | 1007 | | |
| 1008 | + | |
| 1009 | + | |
1009 | 1010 | | |
1010 | 1011 | | |
1011 | 1012 | | |
| |||
0 commit comments