Fixed a crash selected save after clicking the document close button, and small fixes
This commit is contained in:
1 parent
29e8fe453f
commit
5d7bafae3d
18 files changed
+158
-83
No files matched your search
@@ -16,7 +16,7 @@
|
||||
{
|
||||
self = [super initWithFrame:frame];
|
||||
if (self) {
|
||||
_pasteboardTypes = @[];
|
||||
_pasteboardTypes = [@[] retain];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
{
|
||||
self = [super initWithCoder:coder];
|
||||
if (self) {
|
||||
_pasteboardTypes = @[];
|
||||
_pasteboardTypes = [@[] retain];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@@ -62,6 +62,8 @@
|
||||
- (void)dealloc
|
||||
{
|
||||
[_pasteboardTypes release];
|
||||
_pasteboardTypes = nil;
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user