From db027faf38a47365988962b25086231e6791bb35 Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 9 Aug 2013 00:25:31 +0200 Subject: fixes a long standing channels bug --- lib/system/gc.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/system/gc.nim') diff --git a/lib/system/gc.nim b/lib/system/gc.nim index 0ab5f4d94..cb264fe0d 100644 --- a/lib/system/gc.nim +++ b/lib/system/gc.nim @@ -90,6 +90,8 @@ template gcAssert(cond: bool, msg: string) = when defined(useGcAssert): if not cond: echo "[GCASSERT] ", msg + GC_disable() + writeStackTrace() quit 1 proc addZCT(s: var TCellSeq, c: PCell) {.noinline.} = -- cgit 1.4.1-2-gfad0