v8 stop but do not release
peterpeterparker opened this issue · 2 comments
peterpeterparker commented
Hi, I just tried the newest version of ora which I use in my CLI.
While the spinner still works, it seems to not release some process which has for effect to make my CLI commands hang forever.
Example of code:
export const clear = async () => {
try {
await doSomething();
} finally {
spinner.stop();
}
};
With v7.0.1:
With v8.0.0:
In the above gif, when it hangs, I try to hit few "Return" on my keyboard and ends the process with Ctrl+C at the end.
ipec commented
I can confirm this issue with ora
version 8.0.0 in my environment. Experiencing similar behavior where the CLI commands hang after executing.
peterpeterparker commented
I can confirm the fix works out. Thanks a lot, merry Xmas! 🎄