Re: NSAutounbinder not releasing my object in a timely manner

2012-07-20 Thread Jonathan Taylor
Thankyou both for your very helpful replies. The dispatch group approach sounds like a nice one - especially using dispatch_group_notify, which I had somehow overlooked. Thanks also Ken for your detailed reply to my ramblings, that was very useful for getting my understanding straightened out. J

Re: NSAutounbinder not releasing my object in a timely manner

2012-07-19 Thread Ken Thomases
On Jul 19, 2012, at 6:02 AM, Jonathan Taylor wrote: > - User requests batch processing of data within a folder tree, which will > result in between 0 and many separate movies being generated. > - Application allocates a "progress" tracker, subclassed from > NSWindowController, in control of a wi

Re: NSAutounbinder not releasing my object in a timely manner

2012-07-19 Thread Erik Stainsby
Jonathan, Could you not watch the serial queue you mentioned? When it is empty, release the progress window. - Erik Sent from my iPad On 2012-07-19, at 4:02 AM, Jonathan Taylor wrote: > this nasty NSAutounbinder thingy then jumps in and re-retains it in some > evil under-the-covers

Re: NSAutounbinder not releasing my object in a timely manner

2012-07-19 Thread Jonathan Taylor
this nasty NSAutounbinder thingy then jumps in and re-retains it in some evil under-the-covers voodoo to do with avoiding retain cycles (as I understand it). Unfortunately the balancing autorelease only occurs 16 seconds later when I move the mouse! While not catastrophic thi

Re: NSAutounbinder not releasing my object in a timely manner

2012-07-18 Thread Jerry Krinock
On 2012 Jul 18, at 13:28, TAYLOR J.M. wrote: > it's the fact that the progress bar is just sitting there until I move the > mouse that alarms me. I missed that part. So, this progress bar is in a sheet. Is the sheet done? If so, -endSheet:. If not, send -setHidden:YES to the progress bar.

Re: NSAutounbinder not releasing my object in a timely manner

2012-07-18 Thread Ken Thomases
On Jul 18, 2012, at 3:28 PM, TAYLOR J.M. wrote: >>> this nasty NSAutounbinder thingy then jumps in and re-retains it in some >>> evil under-the-covers voodoo to do with avoiding retain cycles (as I >>> understand it). Unfortunately the balancing autorelease only occurs 16 >>> seconds later when

Re: NSAutounbinder not releasing my object in a timely manner

2012-07-18 Thread TAYLOR J.M.
> > this nasty NSAutounbinder thingy then jumps in and re-retains it in some > > evil under-the-covers voodoo to do with avoiding retain cycles (as I > > understand it). Unfortunately the balancing autorelease only occurs 16 > > seconds later when I move the mouse! While not catastrophic this is

Re: NSAutounbinder not releasing my object in a timely manner

2012-07-18 Thread Jerry Krinock
On 2012 Jul 18, at 09:45, Jonathan Taylor wrote: > this nasty NSAutounbinder thingy then jumps in and re-retains it in some evil > under-the-covers voodoo to do with avoiding retain cycles (as I understand > it). Unfortunately the balancing autorelease only occurs 16 seconds later > when I mov