Wrap an additional (lambda a ...) around the application of (terminate-current-thread) in terminate-thread! as the continuation may provide any number of values
This commit is contained in:
parent
d21334de83
commit
9950aa7205
|
@ -471,7 +471,7 @@
|
|||
(define (terminate-thread! thread)
|
||||
(let ((interrupts (set-enabled-interrupts! no-interrupts)))
|
||||
(clear-thread-cell! thread)
|
||||
(interrupt-thread thread terminate-current-thread)))
|
||||
(interrupt-thread thread (lambda args (terminate-current-thread)))))
|
||||
|
||||
;----------------
|
||||
; Make THREAD execute PROC the next time it is run. The thread's own
|
||||
|
|
Loading…
Reference in New Issue