From 1e2ea793692cd3dd883930fccec6654616fc128e Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Mon, 18 Sep 2023 15:10:09 -0700 Subject: [PATCH] comment on ds addr --- datastore/threads/threadproxyds.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datastore/threads/threadproxyds.nim b/datastore/threads/threadproxyds.nim index 4d87bb6..3a18624 100644 --- a/datastore/threads/threadproxyds.nim +++ b/datastore/threads/threadproxyds.nim @@ -62,8 +62,8 @@ proc new*[T]( ds: Datastore, ): ref TaskCtx[T] = result = (ref TaskCtx[T])() - result.ds = unsafeAddr(ds) ## - ## doing this appears to break. previously it was using `addr(ds)` + result.ds = unsafeAddr(ds) ##\ + ## doing this appears to break things. previously it was using `addr(ds)` ## and reverting to those lets the tests get further. ## ## however, that seems to mean that `addr(ds)` we're taking the