Compare commits

..

No commits in common. "8f3e0a9a1d8572f4e96651ec0ded21717644c6bb" and "ab5411da423043f2b8a0e27c7507f8d9c34686a2" have entirely different histories.

3 changed files with 6 additions and 23 deletions

View file

@ -217,9 +217,9 @@
(if (null? active-channels) (if (null? active-channels)
(map (map
(match-lambda (match-lambda
((#f . ('exception exn)) ((#f . ('exception . exn))
(raise-exception exn)) (raise-exception exn))
((#f . ('result val)) ((#f . ('result . val))
val)) val))
channels-to-results) channels-to-results)
(loop (loop
@ -239,10 +239,10 @@
(if (eq? channel c) (if (eq? channel c)
(cons #f (cons #f
(match result (match result
(('exception exn) (('exception . exn)
result) result)
(_ (_
(list 'result result)))) (cons 'result result))))
(cons c r)))) (cons c r))))
channels-to-results))) channels-to-results)))
#f)))) #f))))

View file

@ -1351,7 +1351,8 @@ available. Return the resource once PROC has returned."
'destroy 'destroy
'return) 'return)
resource)) resource))
(raise-exception exn)) (unless (resource-pool-destroy-resource-exception? exn)
(raise-exception exn)))
(lambda () (lambda ()
(with-exception-handler (with-exception-handler
(lambda (exn) (lambda (exn)

View file

@ -61,24 +61,6 @@
identity identity
'(())))) '(()))))
(run-fibers-for-tests
(lambda ()
(with-exception-handler
(lambda (exn)
(unless (and (exception-with-message? exn)
(string=? (exception-message exn)
"foo"))
(raise-exception exn)))
(lambda ()
(fibers-map-with-progress
(lambda _
(raise-exception
(make-exception-with-message "foo")))
'((1)))
(error 'should-not-reach-here))
#:unwind? #t)))
(run-fibers-for-tests (run-fibers-for-tests
(lambda () (lambda ()
(with-exception-handler (with-exception-handler