Re: Swift 3 - Notification leaks

2016-06-18 Thread Gary L. Wade
Apple is carefully monitoring bugs for this, so file one. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Jun 18, 2016, at 4:21 AM, Andreas Mayer wrote: > > The really bad thing is, some were keeping old windows in memory! ___ Coco

Re: Swift 3 - Notification leaks

2016-06-18 Thread Roland King
> On 18 Jun 2016, at 19:21, Andreas Mayer wrote: > > > Block based observers do still leak though. > Not quite sure what you were asking in the mail as a whole but one question about block based observers, are you sure your block doesn’t have a retain cycle, possibly introduced by migration

Swift 3 - Notification leaks

2016-06-18 Thread Andreas Mayer
I have just migrated a project to Swift 3 which worked surprisingly well for the number of changes necessary. After checking out the new memory graph (cool!) I noticed that I am leaking notifications. Example: NSConcreteNotification 0x102c28600 {name = NSApplicationDidBecomeActiveNotif