make onoutputline callback gcsafe

This commit is contained in:
Eric 2025-01-20 17:25:21 +11:00
parent aea6c99a69
commit 9b0eca0815
No known key found for this signature in database

View File

@ -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