Function: magit-todos--kill-active-scan
magit-todos--kill-active-scan is a natively compiled function defined
in magit-todos.el.
Signature
(magit-todos--kill-active-scan)
Documentation
Kill magit-todos-active-scan.
To be called in status buffers' kill-buffer-hook.
Source Code
;; Defined in /nix/store/xy37aj9089qvbs5clw0qszpi3hrh3mxx-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-todos-20250928.1611/magit-todos.el
(defun magit-todos--kill-active-scan ()
"Kill `magit-todos-active-scan'.
To be called in status buffers' `kill-buffer-hook'."
(when (and magit-todos-active-scan
(process-live-p magit-todos-active-scan))
(kill-process magit-todos-active-scan)
(when-let* ((buffer (process-buffer magit-todos-active-scan))
(alive (buffer-live-p buffer)))
(kill-buffer buffer))))