mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Updated cocoalib
This commit is contained in:
parent
096e2bb78a
commit
a563327723
@ -101,7 +101,13 @@ http://www.hardcoded.net/licenses/bsd_license
|
|||||||
[[self view] setDelegate:nil];
|
[[self view] setDelegate:nil];
|
||||||
[[self view] reloadData];
|
[[self view] reloadData];
|
||||||
[[self view] setDelegate:self];
|
[[self view] setDelegate:self];
|
||||||
[oldRetainer release];
|
/* Item retainer and releasing
|
||||||
|
|
||||||
|
In theory, [oldRetainer release] should work, but in practice, doing so causes occasional
|
||||||
|
crashes during drag & drop, which I guess keep the reference of an item a bit longer than it
|
||||||
|
should. This is why we autorelease here. See #354.
|
||||||
|
*/
|
||||||
|
[oldRetainer autorelease];
|
||||||
[self updateSelection];
|
[self updateSelection];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user