MPFR custodian shutdown procedure tries to clear the constants cache
even when MPFR isn't loaded; this should close PR 13423
(cherry picked from commit 441ad6eff4
)
This commit is contained in:
parent
17246096e8
commit
bf0c697cdb
|
@ -81,9 +81,10 @@
|
|||
(register-custodian-shutdown
|
||||
mpfr-free-cache ; acts as a "random" object for a shutdown handle
|
||||
(λ (free)
|
||||
;; The direct reference here is important, since custodian holds only
|
||||
;; a weak reference to shutdown handle:
|
||||
(mpfr-free-cache))))
|
||||
(when mpfr-lib
|
||||
;; The direct reference here is important, since custodian holds only
|
||||
;; a weak reference to shutdown handle:
|
||||
(mpfr-free-cache)))))
|
||||
|
||||
;; ===================================================================================================
|
||||
;; MPFR types
|
||||
|
|
Loading…
Reference in New Issue
Block a user