Skip to content

Commit

Permalink
Slot process renamed to handle
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Feb 24, 2023
1 parent f27be13 commit 0a72263
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions closql.el
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@
(prog1 db (emacsql db [:pragma (= foreign-keys on)]))))
(let ((db-init (not (and file (file-exists-p file))))
(db (make-instance class :file file)))
(when (and (slot-boundp db 'process)
(processp (oref db process)))
(set-process-query-on-exit-flag (oref db process) nil))
(when (and (slot-boundp db 'handle)
(processp (oref db handle)))
(set-process-query-on-exit-flag (oref db handle) nil))
(when debug
(emacsql-enable-debugging db))
(emacsql db [:pragma (= foreign-keys on)])
Expand Down

0 comments on commit 0a72263

Please sign in to comment.