Open minad opened 3 years ago
Are you sure the process isn't killed? It is for me. How are you closing the buffer? I've implemented the process-killing by adding it to the quit function bound to q
, but maybe there's a hook which would be worth using here too.
I close it with kill-buffer, maybe also via an Embark action. It would be better to use a hook to detect when the buffer is killed and then terminate the associated process buffer too.
I'll just add to buffer-kill-hook
Ping :)
Ah yes! I completely forgot about this (as you may have guessed 😅). Pushed in 6301a5ad00cf8eb74e7a522c84c7ccabbec16241.
Thanks! It works. One small detail remains - you could also kill the lexic process buffer such that no stale buffers stay around.
As soon as the user-visible lexic UI is terminated, all associated background processes should be terminated. Is there a reason why one needs a lexic-mode-process buffer btw? Is this the stderr buffer?