This commit is contained in:
parent
45030972b9
commit
9e62876647
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue