diff --git a/src/clj/coffi/mem.clj b/src/clj/coffi/mem.clj index 1f171dc..786c0aa 100644 --- a/src/clj/coffi/mem.clj +++ b/src/clj/coffi/mem.clj @@ -178,8 +178,9 @@ (.whileAlive ^MemorySession session# (^:once fn* [] - (with-acquired [~@(rest sessions)] - (vreset! res# (do ~@body))))) + (vreset! res# + (with-acquired [~@(rest sessions)] + ~@body)))) @res#) `(do ~@body))) (s/fdef with-acquired