From 4b62a0baf2fda1b8aab0ac6419af031647c97c6c Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Mon, 20 Jan 2025 17:25:21 +1100 Subject: [PATCH] make onoutputline callback gcsafe --- tests/integration/hardhatprocess.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/hardhatprocess.nim b/tests/integration/hardhatprocess.nim index df54c112..7bbe3935 100644 --- a/tests/integration/hardhatprocess.nim +++ b/tests/integration/hardhatprocess.nim @@ -25,7 +25,7 @@ type HardhatProcess* = ref object of NodeProcess logFile: ?IoHandle type - OnOutputLineCaptured = proc(line: string) {.raises: [].} + OnOutputLineCaptured = proc(line: string) {.gcsafe, raises: [].} HardhatProcess* = ref object of NodeProcess logFile: ?IoHandle onOutputLine: OnOutputLineCaptured