From 4837738b4a88ce216a75efb007946d15839549c0 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Mon, 26 Feb 2024 17:10:19 -0700 Subject: [PATCH] updates --- tests/exampleGcFailures/exFailureGcRef.nim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/exampleGcFailures/exFailureGcRef.nim b/tests/exampleGcFailures/exFailureGcRef.nim index 4d2eab4..3b8aace 100644 --- a/tests/exampleGcFailures/exFailureGcRef.nim +++ b/tests/exampleGcFailures/exFailureGcRef.nim @@ -12,7 +12,8 @@ import taskpools ## cancelation of the thread-future. ## ## It keeps the future from finishing before -## the task runs. +## the task runs. However, it doesn't appear to be +## triggering the finalizer for the MockSeq. ## type @@ -76,3 +77,8 @@ suite "async tests": GC_fullCollect() os.sleep(2_000) echo "Done" + os.sleep(10_000) + GC_fullCollect() + + teardown: + GC_fullCollect()