diff options
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/runtime_v2.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/runtime_v2.nim b/lib/core/runtime_v2.nim index 149c426e1..5c9554ad8 100644 --- a/lib/core/runtime_v2.nim +++ b/lib/core/runtime_v2.nim @@ -84,7 +84,7 @@ proc nimRawDispose(p: pointer) {.compilerRtl.} = dealloc(p -! sizeof(RefHeader)) if allocs > 0: when hasThreadSupport: - atomicDec allocs + discard atomicDec(allocs) else: dec allocs else: |