mirror of
https://github.com/org-roam/org-roam
synced 2025-09-14 15:46:48 -05:00
(bugfix): Don't query about SQL proccess on Emacs exit (#253)
Graceful shutdown is already guaranteed via `kill-emacs-hook`. Refs #200 Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
This commit is contained in:
@@ -140,6 +140,7 @@ Performs a database upgrade when required."
|
||||
(init-db (not (file-exists-p db-file))))
|
||||
(make-directory (file-name-directory db-file) t)
|
||||
(let ((conn (emacsql-sqlite db-file)))
|
||||
(set-process-query-on-exit-flag (emacsql-process conn) nil)
|
||||
(puthash (file-truename org-roam-directory)
|
||||
conn
|
||||
org-roam--db-connection)
|
||||
|
Reference in New Issue
Block a user