Function: eca-workspaces--on-kill

eca-workspaces--on-kill is a natively compiled function defined in eca-workspaces.el.

Signature

(eca-workspaces--on-kill)

Documentation

Clean up dashboard timers when the buffer is killed.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(defun eca-workspaces--on-kill ()
  "Clean up dashboard timers when the buffer is killed."
  (when (timerp eca-workspaces--refresh-timer)
    (cancel-timer eca-workspaces--refresh-timer))
  (setq eca-workspaces--refresh-timer nil)
  (eca-workspaces--stop-ticker))