From: Christopher Allan Webber Date: Mon, 7 Dec 2015 03:01:51 +0000 (-0600) Subject: Fix %port-request and %port-remove-request X-Git-Tag: v0.1.0~23 X-Git-Url: https://jxself.org/git/?p=8sync.git;a=commitdiff_plain;h=6866b9405a85d2722fac52df350f74830b144d03;hp=d059d67fdc1e547f6d55b2883e5b0cc2f14f0380 Fix %port-request and %port-remove-request Both of these need to have their continuation wrapped with (wrap). I'm honestly a bit fuzzy on why this fixes things but it does. * 8sync/agenda.scm (%port-request, %port-remove-request): Adjusted to wrap kont with `wrap' macro. --- diff --git a/8sync/agenda.scm b/8sync/agenda.scm index da39845..74f3b19 100644 --- a/8sync/agenda.scm +++ b/8sync/agenda.scm @@ -565,13 +565,13 @@ return the wrong thing via (%8sync) and trip themselves up." (make-async-request (lambda (kont) (list (make-port-request port port-request-args ...) - (make-run-request kont #f))))) + (make-run-request (wrap kont) #f))))) (define-syntax-rule (%port-remove-request port) (make-async-request (lambda (kont) (list (make-port-remove-request port) - (make-run-request kont #f))))) + (make-run-request (wrap kont) #f))))) ;; Sugar