Search found 2 matches

by pdp11
Sun May 08, 2016 2:15 am
Forum: Mac OSX
Topic: AutoreleasePools under OSX inside dylib
Replies: 2
Views: 2459

Re: AutoreleasePools under OSX inside dylib [resolved]

Fixed or at least bypassed by creating an additional AutoreleasePoolPage list in the C++ code before calling any of the PB dylib procedures. FYI The Apple Objective C runtime stores the current autorelease pool page list in a thread-local slot, which I am replacing temporarily, no doubt it'll break ...
by pdp11
Sun May 01, 2016 5:58 am
Forum: Mac OSX
Topic: AutoreleasePools under OSX inside dylib
Replies: 2
Views: 2459

AutoreleasePools under OSX inside dylib

Hi there,
I'm seeing an issue with dylibs under OSX and the autorelease pool.
I have a program that calls a library I've made with PB that displays various dialogs (not the XML sort), the issue is that the window event handling routines return back to my calling program without draining/popping ...