Skip to content

Commit da3bac6

Browse files
committed
fix(ui): improve custom renderer cleanup
1 parent 47be79b commit da3bac6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/ui/renderer.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ class CLIRenderer {
8383
this.id = undefined;
8484
}
8585

86-
this.frame(); // Ensure last spinners are cleared up
86+
if (this.spinner) {
87+
this.spinner.stop();
88+
this.spinner = this.ui.spinner = null;
89+
}
8790
}
8891
}
8992

0 commit comments

Comments
 (0)