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
|
(register-custodian-shutdown
|
||||||
mpfr-free-cache ; acts as a "random" object for a shutdown handle
|
mpfr-free-cache ; acts as a "random" object for a shutdown handle
|
||||||
(λ (free)
|
(λ (free)
|
||||||
;; The direct reference here is important, since custodian holds only
|
(when mpfr-lib
|
||||||
;; a weak reference to shutdown handle:
|
;; The direct reference here is important, since custodian holds only
|
||||||
(mpfr-free-cache))))
|
;; a weak reference to shutdown handle:
|
||||||
|
(mpfr-free-cache)))))
|
||||||
|
|
||||||
;; ===================================================================================================
|
;; ===================================================================================================
|
||||||
;; MPFR types
|
;; MPFR types
|
||||||
|
|
Loading…
Reference in New Issue
Block a user