Function: tramp-crypt-cleanup-connection

tramp-crypt-cleanup-connection is a byte-compiled function defined in tramp-crypt.el.gz.

Signature

(tramp-crypt-cleanup-connection VEC)

Documentation

Cleanup crypt resources determined by VEC.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-crypt.el.gz
(defun tramp-crypt-cleanup-connection (vec)
  "Cleanup crypt resources determined by VEC."
  (let ((tramp-cleanup-connection-hook
	 (remove
	  #'tramp-crypt-cleanup-connection tramp-cleanup-connection-hook))
	(tramp-crypt-enabled t))
    (dolist (dir tramp-crypt-directories)
      (when (tramp-file-name-equal-p vec (tramp-dissect-file-name dir))
	(tramp-cleanup-connection (tramp-crypt-dissect-file-name dir))))))