fixes a long standing channels bug
This commit is contained in:
parent
a294d45fd6
commit
db027faf38
2 changed files with 3 additions and 1 deletions
|
|
@ -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.} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue