mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-08 00:44: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
|
logFile: ?IoHandle
|
||||||
|
|
||||||
type
|
type
|
||||||
OnOutputLineCaptured = proc(line: string) {.raises: [].}
|
OnOutputLineCaptured = proc(line: string) {.gcsafe, raises: [].}
|
||||||
HardhatProcess* = ref object of NodeProcess
|
HardhatProcess* = ref object of NodeProcess
|
||||||
logFile: ?IoHandle
|
logFile: ?IoHandle
|
||||||
onOutputLine: OnOutputLineCaptured
|
onOutputLine: OnOutputLineCaptured
|
||||||
|
Loading…
x
Reference in New Issue
Block a user