Re: Leak in NSDocument Edge Case

2017-07-24 Thread Jerome Krinock
I filed a bug on this today: 33502122. > On 2017 Jun 30, at 14:53, Jerome Krinock wrote: > > It looks to me that, in the edge case where user clicks File : Duplicate and > then enters a file path/name that already exists in the filesystem, so that > Cocoa prompts to "Replace" or "Cancel", the

Leak in NSDocument Edge Case

2017-06-30 Thread Jerome Krinock
It looks to me that, in the edge case where user clicks File : Duplicate and then enters a file path/name that already exists in the filesystem, so that Cocoa prompts to "Replace" or "Cancel", the new NSDocument object gets four (4) unbalanced retains, and therefore leaks. This is reproducible