fix: prevent self-kill and ensure graceful shutdown with terminal flush - #886
fix: prevent self-kill and ensure graceful shutdown with terminal flush#886ilyaxuwu wants to merge 1 commit into
Conversation
|
I'll have my agents take a look |
|
Thanks for digging into the exit-cleanup path — the underlying idea (make sure buffered terminal escape sequences reach the tty before the process dies) is legitimate and worth pursuing. A few concerns before this is portable, though:
The |
|
Oh yeah, by the way. I’d like your prompt to automatically check which PID is Freebuff is running on when it’s active, and when deciding to kill all instances of "node.exe" process, to check the PIDs in Task Manager and ensure that Freebuff’s own PID (for example, 15342) blacklist it before killing the pid. and then prevent Freebuff from shutting down. |
This should works now! https://streamable.com/r42l5x If it doesn't work I would give up