Fixing the error message from PR12443
original commit: 9b579d8c2aa8548e6b49c9aeec0a7a4cf107bd58
This commit is contained in:
parent
2147d288a1
commit
3f6a5bb5ef
|
@ -112,8 +112,14 @@
|
||||||
;; Enable breaking:
|
;; Enable breaking:
|
||||||
(when can-break?
|
(when can-break?
|
||||||
(break-enabled #t))
|
(break-enabled #t))
|
||||||
|
;; Prevent the handler from
|
||||||
|
;; killing this custodian, by
|
||||||
|
;; creating an intermediary,
|
||||||
|
;; but child custodian
|
||||||
|
(parameterize ([current-custodian
|
||||||
|
(make-custodian)])
|
||||||
;; Call the handler
|
;; Call the handler
|
||||||
(handler r w)))))])
|
(handler r w))))))])
|
||||||
;; Clean-up and timeout thread:
|
;; Clean-up and timeout thread:
|
||||||
(thread
|
(thread
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user