cs: repair for callbacks that might throw exceptions
The callable used to trigger stack unwinding was unlocked during initialization, but it shouldn't be.
This commit is contained in:
parent
3952355d30
commit
a50aa9d164
|
@ -2010,9 +2010,7 @@
|
|||
[else
|
||||
(let ([fptr (make-ftype-pointer ptr->ptr call)])
|
||||
(let ([v (ftype-ref ptr->ptr () fptr)])
|
||||
(unlock-object
|
||||
(foreign-callable-code-object
|
||||
(ftype-pointer-address fptr)))
|
||||
;; must leave the callable code object locked
|
||||
v))])))
|
||||
|
||||
;; ----------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user