lexic-mode-process and sdcv is not killed when lexic buffer is closed #24
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tec/lexic#24
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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
6301a5ad00
.Thanks! It works. One small detail remains - you could also kill the lexic process buffer such that no stale buffers stay around.