Fix resource-pool-destroy-resource-exception
Raising the exception is more consistent, and avoids returning the resource.
This commit is contained in:
parent
ab5411da42
commit
09ca6cfb6b
1 changed files with 1 additions and 2 deletions
|
@ -1351,8 +1351,7 @@ available. Return the resource once PROC has returned."
|
||||||
'destroy
|
'destroy
|
||||||
'return)
|
'return)
|
||||||
resource))
|
resource))
|
||||||
(unless (resource-pool-destroy-resource-exception? exn)
|
(raise-exception exn))
|
||||||
(raise-exception exn)))
|
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue