From 27adbeb77e26be77a24a9dc6f70cc2914b3389e3 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Mon, 18 Sep 2023 15:05:20 -0700 Subject: [PATCH] comment on ds addr --- datastore/threads/threadproxyds.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datastore/threads/threadproxyds.nim b/datastore/threads/threadproxyds.nim index 068567e..4d87bb6 100644 --- a/datastore/threads/threadproxyds.nim +++ b/datastore/threads/threadproxyds.nim @@ -74,6 +74,9 @@ proc new*[T]( ## of the `ds` argument, which is a temporary stack location. ## ## not sure how to fix this while using GC types + ## just taking the address of the var location sorta works, but + ## crashes now as well, but later. likely due to datastore now being + ## on two GC heaps? echo "" echo "TaskCtx:new: ", "addrOf: ", addrOf(result).pointer.repr