Can you check that autoreleased objects are correctly destroyed in a dispatch 
queue?

David

> On 28 Dec 2017, at 18:11, David Wetzel <d...@turbocat.de> wrote:
> 
> Hi!
> 
> If you link with 
> 
> -ldispatch
> 
> Things like 
> 
>    [shutter openShutterPercent:60
>                     completion:^(RollerShutter * shutterDone) {
>                         NSLog(@"Shutter %@ is done!", shutterDone);
>                     }];
> 
> work. I did not try if it works without -ldispatch
> 
> David
> 
> 
>> Am 28.12.2017 um 12:41 schrieb David Chisnall <thera...@sucs.org>:
>> 
>> I’ve seen that, but I don’t know the reason for it.  I’ve used libdispatch 
>> in the past on FreeBSD with GNUstep, though more recently I’ve moved to 
>> using C++11 threading for my own stuff so haven’t had the opportunity to see 
>> if it still actually works.
> 
> 
> _______________________________________________
> Gnustep-dev mailing list
> Gnustep-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to