mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-08 13:37:35 +02:00
Fixing bug in exception-protect.
This commit is contained in:
parent
9f518e56c4
commit
45f7d85360
1 changed files with 6 additions and 6 deletions
|
@ -997,7 +997,7 @@
|
|||
;; Similar to unwind-protect, but allows escape via continuations
|
||||
;; assuming they'll return, whereas exceptions are assumed to not return.
|
||||
(define (with-exception-protect thunk final)
|
||||
(let ((finalized? #f)
|
||||
(let* ((finalized? #f)
|
||||
(run-finalize
|
||||
(lambda ()
|
||||
(cond ((not finalized?)
|
||||
|
|
Loading…
Add table
Reference in a new issue