Lock the GC mode once something has queried it. All of the GNUstep code that
does run-time detection of whether to use GC calls objc_collecting_enabled() (sometimes indirectly, via NSGarbageCollector) to see if we're in GC mode. After any of these calls, it is not safe to switch modes.main
parent
fe5d1b892a
commit
d1199844cb
Loading…
Reference in New Issue