Minor bug fix (#9430)

This commit is contained in:
cooldome 2018-10-19 10:45:59 +01:00 • committed by Andreas Rumpf
commit 953f2ef261

View file

@ -145,7 +145,7 @@ else:
else:
dec gTicker
proc hook(st: StackTrace) {.nimcall locks: 0.} =
proc hook(st: StackTrace) {.nimcall, locks: 0.} =
#echo "profiling! ", interval
if interval == 0:
hookAux(st, 1)