Revision: 28542
http://sourceforge.net/p/bibdesk/svn/28542
Author: hofman
Date: 2024-01-04 16:51:17 +0000 (Thu, 04 Jan 2024)
Log Message:
-----------
assign retained self to variable
Modified Paths:
--------------
trunk/bibdesk/BDSKAuthenticationController.m
Modified: trunk/bibdesk/BDSKAuthenticationController.m
===================================================================
--- trunk/bibdesk/BDSKAuthenticationController.m 2024-01-04 16:49:36 UTC
(rev 28541)
+++ trunk/bibdesk/BDSKAuthenticationController.m 2024-01-04 16:51:17 UTC
(rev 28542)
@@ -147,12 +147,12 @@
}];
} else {
usingSheet = NO;
- [self retain];
+ id strongSelf = [self retain];
if ([NSApp runModalForWindow:[self window]] == NSModalResponseOK)
completionHandler(NSURLSessionAuthChallengeUseCredential, [self
credential]);
else
completionHandler(NSURLSessionAuthChallengePerformDefaultHandling,
nil);
- [self release];
+ [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