Function: cider-trace--unsubscribe

cider-trace--unsubscribe is a byte-compiled function defined in cider-tracing.el.

Signature

(cider-trace--unsubscribe)

Documentation

Tear down this buffer's trace subscription, if any.

Fires a best-effort async request, since this runs from kill-buffer-hook.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-tracing.el
(defun cider-trace--unsubscribe ()
  "Tear down this buffer's trace subscription, if any.
Fires a best-effort async request, since this runs from `kill-buffer-hook'."
  (when (and cider-trace--subscription
             (buffer-live-p cider-trace--repl))
    (ignore-errors
      (cider-nrepl-send-request
       (list "op" "cider/trace-unsubscribe"
             "subscription" cider-trace--subscription)
       #'ignore
       cider-trace--repl))
    (setq cider-trace--subscription nil)))