fixes #8294 [backport]

(cherry picked from commit 27e366eaec)
This commit is contained in:
Araq
2019-01-15 22:47:02 +01:00
committed by narimiran
parent 9047fb7738
commit 81fd1147db

View File

@@ -37,7 +37,7 @@ type
var gTerm {.threadvar.}: PTerminal
proc newTerminal(): PTerminal
proc newTerminal(): PTerminal {.gcsafe.}
proc getTerminal(): PTerminal {.inline.} =
if isNil(gTerm):