Revision: 28464
          http://sourceforge.net/p/bibdesk/svn/28464
Author:   hofman
Date:     2023-11-26 16:01:44 +0000 (Sun, 26 Nov 2023)
Log Message:
-----------
use ARC for relaunch tool

Modified Paths:
--------------
    trunk/bibdesk/Configurations/Relaunch.xcconfig
    trunk/bibdesk/relaunch.m

Modified: trunk/bibdesk/Configurations/Relaunch.xcconfig
===================================================================
--- trunk/bibdesk/Configurations/Relaunch.xcconfig      2023-11-26 15:28:08 UTC 
(rev 28463)
+++ trunk/bibdesk/Configurations/Relaunch.xcconfig      2023-11-26 16:01:44 UTC 
(rev 28464)
@@ -1 +1,3 @@
 PRODUCT_NAME = $(TARGET_NAME)
+
+CLANG_ENABLE_OBJC_ARC = YES

Modified: trunk/bibdesk/relaunch.m
===================================================================
--- trunk/bibdesk/relaunch.m    2023-11-26 15:28:08 UTC (rev 28463)
+++ trunk/bibdesk/relaunch.m    2023-11-26 16:01:44 UTC (rev 28464)
@@ -78,17 +78,11 @@
     self = [super init];
     if (self) {
         _processIdentifier = processIdentifier;
-        _relaunchPath = [relaunchPath copy];
+        _relaunchPath = relaunchPath;
     }
     return self;
 }
 
-- (void)dealloc {
-    [_relaunchPath release];
-    _relaunchPath = nil;
-    [super dealloc];
-}
-
 - (BOOL)terminated {
     return self.watchedTermination ||
     self.processIdentifier == 0 ||

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to