Revision: 28570
          http://sourceforge.net/p/bibdesk/svn/28570
Author:   hofman
Date:     2024-01-07 16:58:08 +0000 (Sun, 07 Jan 2024)
Log Message:
-----------
should not retain controller during modal window session

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

Modified: trunk/bibdesk/BDSKAuthenticationController.m
===================================================================
--- trunk/bibdesk/BDSKAuthenticationController.m        2024-01-07 16:37:53 UTC 
(rev 28569)
+++ trunk/bibdesk/BDSKAuthenticationController.m        2024-01-07 16:58:08 UTC 
(rev 28570)
@@ -148,12 +148,10 @@
         }];
     } else {
         usingSheet = NO;
-        id strongSelf = [self retain];
         if ([NSApp runModalForWindow:[self window]] == NSModalResponseOK)
             completionHandler(NSURLSessionAuthChallengeUseCredential, [self 
credential]);
         else
             completionHandler(NSURLSessionAuthChallengePerformDefaultHandling, 
nil);
-        [strongSelf release];
     }
 }
 

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