branch: elpa/emacsql commit eb10ddcdbabd22b9af2721eefdca3dd5daea3432 Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Error-free reaping since it's automatic. --- emacsql.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacsql.el b/emacsql.el index 04413bd6fb..f14a12f34f 100644 --- a/emacsql.el +++ b/emacsql.el @@ -104,7 +104,8 @@ This collection exists for cleanup purposes.") "Clean up after lost connections." (cl-loop for (emacsql-copy . ref) in emacsql-connections when (null (emacsql--deref ref)) - count (prog1 t (emacsql-close emacsql-copy)) into total + count (prog1 t (ignore-errors (emacsql-close emacsql-copy))) + into total else collect (cons emacsql-copy ref) into connections finally (progn (setf emacsql-connections connections)