mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-07 16:33:53 +00:00
make onoutputline callback gcsafe
This commit is contained in:
parent
33340bd430
commit
4b62a0baf2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user