Re: ARC & Autorelease pool question

2019-05-13 Thread David Chisnall
On 13/05/2019 07:59, Andreas Fink wrote: My question is simple: What is the correct way to compile gnustep-base with ARC so it wont even use autorelease pools at all. Or is this not possible? This is not possible for two reasons: 1. No one has migrated -base to use ARC. I had a brief try,

ARC & Autorelease pool question

2019-05-13 Thread Andreas Fink
Hello all I am chasing a memory leak in my application and came to the conclusion that my code is not leaking anything but most probably is gnustep-base adding stuff to the autoreleasepool which never gets flushed. My understanding of ARC however was that the autorelease pool mechanism is kind