Fixing error discovered by Steven Lyde
This commit is contained in:
parent
e6a25f65ca
commit
661079aab6
|
@ -125,7 +125,9 @@
|
||||||
(hash-set! htable a-k-id
|
(hash-set! htable a-k-id
|
||||||
(list salt k expiration-handler (add1 count))))
|
(list salt k expiration-handler (add1 count))))
|
||||||
(if (or (not (eq? salt a-salt))
|
(if (or (not (eq? salt a-salt))
|
||||||
(not k))
|
(not k)
|
||||||
|
(and (custodian-box? k)
|
||||||
|
(not (custodian-box-value k))))
|
||||||
(raise (make-exn:fail:servlet-manager:no-continuation
|
(raise (make-exn:fail:servlet-manager:no-continuation
|
||||||
(format "No continuation for id: ~a" a-k-id)
|
(format "No continuation for id: ~a" a-k-id)
|
||||||
(current-continuation-marks)
|
(current-continuation-marks)
|
||||||
|
|
|
@ -107,7 +107,9 @@
|
||||||
(increment-timer! k-timer
|
(increment-timer! k-timer
|
||||||
continuation-timer-length))
|
continuation-timer-length))
|
||||||
(if (or (not (eq? salt a-salt))
|
(if (or (not (eq? salt a-salt))
|
||||||
(not k))
|
(not k)
|
||||||
|
(and (custodian-box? k)
|
||||||
|
(not (custodian-box-value k))))
|
||||||
(raise (make-exn:fail:servlet-manager:no-continuation
|
(raise (make-exn:fail:servlet-manager:no-continuation
|
||||||
(format "No continuation for id: ~a" a-k-id)
|
(format "No continuation for id: ~a" a-k-id)
|
||||||
(current-continuation-marks)
|
(current-continuation-marks)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user