emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql eb10ddcdba 004/427: Error-free reaping since it's


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql eb10ddcdba 004/427: Error-free reaping since it's automatic.
Date: Tue, 13 Dec 2022 02:59:22 -0500 (EST)

branch: elpa/emacsql
commit eb10ddcdbabd22b9af2721eefdca3dd5daea3432
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]