Revision: 28490
          http://sourceforge.net/p/bibdesk/svn/28490
Author:   hofman
Date:     2023-12-30 17:12:49 +0000 (Sat, 30 Dec 2023)
Log Message:
-----------
retain window controller inside method using modal window

Modified Paths:
--------------
    trunk/bibdesk/BDSKAuthenticationController.m

Modified: trunk/bibdesk/BDSKAuthenticationController.m
===================================================================
--- trunk/bibdesk/BDSKAuthenticationController.m        2023-12-30 17:08:28 UTC 
(rev 28489)
+++ trunk/bibdesk/BDSKAuthenticationController.m        2023-12-30 17:12:49 UTC 
(rev 28490)
@@ -152,6 +152,7 @@
             completionHandler(NSURLSessionAuthChallengeUseCredential, [self 
credential]);
         else
             completionHandler(NSURLSessionAuthChallengePerformDefaultHandling, 
nil);
+        [self release];
     }
 }
 
@@ -161,7 +162,6 @@
     } 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

Reply via email to