aboutsummaryrefslogtreecommitdiff
path: root/modules/ui-theme.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-16 11:28:25 -0500
committerCraig Jennings <c@cjennings.net>2026-05-16 11:28:25 -0500
commitdc805adce318599a9355996d0fe08119c38d784e (patch)
treee9424f07ea44fbf3253653e49ca3f282ed5d3002 /modules/ui-theme.el
parentc32bc711c92f62f655b2f9760b8e17e1ad5c2c58 (diff)
downloaddotemacs-dc805adce318599a9355996d0fe08119c38d784e.tar.gz
dotemacs-dc805adce318599a9355996d0fe08119c38d784e.zip
fix(config-utilities): guard emacsql-close against nil sqlite handle
EmacSQL 4.3.1 registers a finalizer per connection that calls emacsql-close after GC. The sqlite-builtin and sqlite-module backends clear their handle slot during an explicit close, so the finalizer later runs emacsql-close on a closed connection and sqlite-close fires: finalizer failed: (wrong-type-argument sqlitep nil) Adds an :around method on emacsql-close for both backends that short-circuits when the handle is already nil. Requires cl-generic and eieio at the top of the file so the cl-defmethod forms expand.
Diffstat (limited to 'modules/ui-theme.el')
0 files changed, 0 insertions, 0 deletions