mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 15:44:14 +00:00
This commit is contained in:
committed by
Andreas Rumpf
parent
45030972b9
commit
9e62876647
@@ -152,7 +152,9 @@ when defined(boehmgc):
|
||||
proc nimGC_setStackBottom(theStackBottom: pointer) = discard
|
||||
|
||||
proc initGC() =
|
||||
boehmGC_set_all_interior_pointers(0)
|
||||
when defined(boehmNoIntPtr):
|
||||
# See #12286
|
||||
boehmGC_set_all_interior_pointers(0)
|
||||
boehmGCinit()
|
||||
when hasThreadSupport:
|
||||
boehmGC_allow_register_threads()
|
||||
|
||||
Reference in New Issue
Block a user