Fix exception handling in call-with-temporary-thread
This commit is contained in:
parent
d5e663cc1e
commit
7acb38377e
1 changed files with 3 additions and 3 deletions
|
|
@ -992,7 +992,7 @@
|
|||
|
||||
(with-exception-handler
|
||||
(lambda (exn)
|
||||
(put-message channel `(exception ,exn)))
|
||||
(put-message channel `(exception . ,exn)))
|
||||
(lambda ()
|
||||
(with-throw-handler #t
|
||||
(lambda ()
|
||||
|
|
@ -1006,8 +1006,8 @@
|
|||
(match (get-message channel)
|
||||
(('values . results)
|
||||
(apply values results))
|
||||
(('exception . args)
|
||||
(apply throw args)))))
|
||||
(('exception . exn)
|
||||
(raise-exception exn)))))
|
||||
|
||||
(define (inferior-eval-with-store/non-blocking inferior store proc)
|
||||
(call-with-temporary-thread
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue