Fixes #12286 - require explicit disabling of boehm interior pointer checking (#12406) [backport]

This commit is contained in:
genotrance
2019-10-11 00:39:18 -05:00
committed by Andreas Rumpf
parent 45030972b9
commit 9e62876647

View File

@@ -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()