diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-11-13 00:39:09 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-11-13 23:29:21 +0100 |
commit | 6ad0238fd7cbf35d2200767efe97d764834114bc (patch) | |
tree | 17c1a7e29945069105c35580b1e1c70a6d938049 /lib/system/excpt.nim | |
parent | 25c724d38b66aa52b017a63ad6ea59912d627f5a (diff) | |
download | Nim-6ad0238fd7cbf35d2200767efe97d764834114bc.tar.gz |
make tests green again
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r-- | lib/system/excpt.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 2595a045b..ef9a6deaf 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -531,12 +531,12 @@ when not defined(noSignalHandler) and not defined(useNimRtl): when defined(memtracker): logPendingOps() when hasSomeStackTrace: - when not defined(gcDestructors): GC_disable() + when not usesDestructors: GC_disable() var buf = newStringOfCap(2000) rawWriteStackTrace(buf) processSignal(sign, buf.add) # nice hu? currying a la Nim :-) showErrorMessage(buf) - when not defined(gcDestructors): GC_enable() + when not usesDestructors: GC_enable() else: var msg: cstring template asgn(y) = |