Function: ghostel--kill-native-processes-on-exit

ghostel--kill-native-processes-on-exit is a natively compiled function defined in ghostel.el.

Signature

(ghostel--kill-native-processes-on-exit)

Documentation

Force native children to exit before Emacs disables process sentinels.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--kill-native-processes-on-exit ()
  "Force native children to exit before Emacs disables process sentinels."
  (dolist (process (process-list))
    (when-let* ((pid (process-get process 'ghostel--native-pid)))
      (ignore-errors (signal-process pid 9)))))