Revision: 23993
http://sourceforge.net/p/bibdesk/svn/23993
Author: hofman
Date: 2019-07-10 21:06:48 +0000 (Wed, 10 Jul 2019)
Log Message:
-----------
retain controller while panel is up
Modified Paths:
--------------
trunk/bibdesk/BDSKAuthenticationController.m
Modified: trunk/bibdesk/BDSKAuthenticationController.m
===================================================================
--- trunk/bibdesk/BDSKAuthenticationController.m 2019-07-10 20:52:58 UTC
(rev 23992)
+++ trunk/bibdesk/BDSKAuthenticationController.m 2019-07-10 21:06:48 UTC
(rev 23993)
@@ -145,6 +145,7 @@
}];
} else {
usingSheet = NO;
+ [self retain];
if ([NSApp runModalForWindow:[self window]] == NSOKButton)
completionHandler(BDSKDownloaderAuthChallengeCancelAuthenticationChallenge,
[self credential]);
else
@@ -158,6 +159,7 @@
} else {
[NSApp stopModalWithCode:[sender tag]];
[[self window] orderOut:self];
+ [self autorelease];
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit