make tests green again
This commit is contained in:
parent
25c724d38b
commit
6ad0238fd7
1 changed files with 2 additions and 2 deletions
|
|
@ -531,12 +531,12 @@ when not defined(noSignalHandler) and not defined(useNimRtl):
|
||||||
when defined(memtracker):
|
when defined(memtracker):
|
||||||
logPendingOps()
|
logPendingOps()
|
||||||
when hasSomeStackTrace:
|
when hasSomeStackTrace:
|
||||||
when not defined(gcDestructors): GC_disable()
|
when not usesDestructors: GC_disable()
|
||||||
var buf = newStringOfCap(2000)
|
var buf = newStringOfCap(2000)
|
||||||
rawWriteStackTrace(buf)
|
rawWriteStackTrace(buf)
|
||||||
processSignal(sign, buf.add) # nice hu? currying a la Nim :-)
|
processSignal(sign, buf.add) # nice hu? currying a la Nim :-)
|
||||||
showErrorMessage(buf)
|
showErrorMessage(buf)
|
||||||
when not defined(gcDestructors): GC_enable()
|
when not usesDestructors: GC_enable()
|
||||||
else:
|
else:
|
||||||
var msg: cstring
|
var msg: cstring
|
||||||
template asgn(y) =
|
template asgn(y) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue