mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 04:57:49 +00:00
fixes #11844
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user