Author: rfm
Date: Mon Feb 29 10:41:14 2016
New Revision: 39423
URL: http://svn.gna.org/viewcvs/gnustep?rev=39423&view=rev
Log:
trivial tweaks
Modified:
libs/base/trunk/Source/NSDistantObject.m
libs/base/trunk/Source/NSUserNotification.m
Modified: libs/base/trunk/Source/NSDistantObject.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSDistantObject.m?rev=39423&r1=39422&r2=39423&view=diff
==============================================================================
--- libs/base/trunk/Source/NSDistantObject.m (original)
+++ libs/base/trunk/Source/NSDistantObject.m Mon Feb 29 10:41:14 2016
@@ -603,6 +603,11 @@
@"You should request NSConnectionDidDieNotification's and\n"
@"release all references to the proxy's of invalid Connections."];
+ /* We could be released while the connection is forwarding, so we need
+ * to retain self. But, the remote end couild raise an exception, so
+ * we can't rely on being able to release again; use autorelease.
+ */
+ AUTORELEASE(RETAIN(self));
[_connection forwardInvocation: anInvocation forProxy: self];
}
Modified: libs/base/trunk/Source/NSUserNotification.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSUserNotification.m?rev=39423&r1=39422&r2=39423&view=diff
==============================================================================
--- libs/base/trunk/Source/NSUserNotification.m (original)
+++ libs/base/trunk/Source/NSUserNotification.m Mon Feb 29 10:41:14 2016
@@ -38,7 +38,8 @@
#import "Foundation/NSString.h"
#import "Foundation/NSTimeZone.h"
-NSString * const NSUserNotificationDefaultSoundName =
@"NSUserNotificationDefaultSoundName";
+NSString * const NSUserNotificationDefaultSoundName
+ = @"NSUserNotificationDefaultSoundName";
@interface NSUserNotification ()
@property (readwrite) NSDate *actualDeliveryDate;
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs