From a9373f6d439597ebbc5097d7cd72b832ab726adb Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Tue, 12 Sep 2023 18:17:45 -0700 Subject: [PATCH] remove comment --- datastore/threads/threadresults.nim | 9 --------- 1 file changed, 9 deletions(-) diff --git a/datastore/threads/threadresults.nim b/datastore/threads/threadresults.nim index 376ee09..e0eab7d 100644 --- a/datastore/threads/threadresults.nim +++ b/datastore/threads/threadresults.nim @@ -29,15 +29,6 @@ type ## SharedPtr that allocates a shared buffer and keeps the ## memory allocated until all references to it are gone. ## - ## Important: - ## On `refc` that "internal" destructors for ThreadResult[T] - ## are *not* called. Effectively limiting this to 1 depth - ## of destructors. Hence the `threadSafeType` marker below. - ## - ## Edit: not sure this is quire accurate, but some care - ## needs to be taken to verify the destructor - ## works with the specific type. - ## ## Since ThreadResult is a plain object, its lifetime can be ## tied to that of an async proc. In this case it could be ## freed before the other background thread is finished.