From d5cc2085eae85ad922dfafc1dca81860d94d1731 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Sat, 5 Nov 2022 17:58:57 +0800 Subject: ref #20694; quit value gets saturated to ranges (#20753) * quit value gets saturated to ranges * add documentation * minimal changes * refactor * small fix * add documentation * fixes * Update lib/system.nim Co-authored-by: Juan Carlos Co-authored-by: Juan Carlos --- lib/system/osalloc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/system/osalloc.nim') diff --git a/lib/system/osalloc.nim b/lib/system/osalloc.nim index 39bf65d6c..4817059be 100644 --- a/lib/system/osalloc.nim +++ b/lib/system/osalloc.nim @@ -189,7 +189,7 @@ elif defined(windows) and not defined(StandaloneHeapSize): when reallyOsDealloc: if virtualFree(p, 0, MEM_RELEASE) == 0: cprintf "virtualFree failing!" - quit 1 + rawQuit 1 #VirtualFree(p, size, MEM_DECOMMIT) elif hostOS == "standalone" or defined(StandaloneHeapSize): -- cgit 1.4.1-2-gfad0