Skip to content
Snippets Groups Projects
Commit 7762e53a authored by George Nachman's avatar George Nachman
Browse files

Nil out the delegate of the profile name field in the edit current session...

Nil out the delegate of the profile name field in the edit current session prefs panel because it gets made first responder from a delayed perform after its delegate is released (the delayed perform is in openToProfileWithGuid:selectGeneralTab:). When the text field tries to become first responder it checks with its delegate, and that dies when zombies are enabled.
parent 0d70fb8b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -64,6 +64,11 @@ static const NSInteger kInitialDirectoryTypeAdvancedTag = 3;
IBOutlet NSButton *_copyProfleToSession;
}
 
- (void)dealloc {
_profileNameFieldForEditCurrentSession.delegate = nil;
[super dealloc];
}
- (void)awakeFromNib {
PreferenceInfo *info;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment