Only clear the %store-table when it's defined

This commit is contained in:
Christopher Baines 2022-05-17 12:06:09 +01:00
parent 5727703d84
commit 198b6ef719

View file

@ -575,7 +575,9 @@ WHERE job_id = $1")
;; Clean the cached store connections, as there are caches
;; associated with these that take up lots of memory
(inferior-eval '(hash-clear! %store-table) inf)
(inferior-eval
'(when (defined? '%store-table) (hash-clear! %store-table))
inf)
warnings))))))
checkers))))