Add log to see if remote message service gets interrupted

This commit is contained in:
Zorg committed 2016-05-21 00:07:36 -04:00
1 parent 1084071810
commit cd135d9b10
1 file changed
+2
+2
View File
@@ -8,6 +8,7 @@
#import "SUXPCRemoteMessagePort.h"
#import "SURemoteMessagePort.h"
#import "SULog.h"
@interface SUXPCRemoteMessagePort ()
@@ -34,6 +35,7 @@
};
_connection.interruptionHandler = ^{
SULog(@"RemoteMessagePort service interrupted");
[weakSelf invokeInvalidation];
[weakSelf.connection invalidate];
};