Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Connection improvements

  • Loading branch information...
commit f72ba7ead662ecf64d427a148bc906030601d66e 1 parent aa44622
@stevestreza stevestreza authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  XPCKit/XPCConnection.h
  2. +1 −1  XPCKit/XPCConnection.m
View
2  XPCKit/XPCConnection.h
@@ -29,7 +29,7 @@
- (id)initWithServiceName:(NSString *)serviceName;
- (id)initWithConnection: (xpc_connection_t)connection;
-@property (nonatomic, retain) XPCEventHandler eventHandler;
+@property (nonatomic, copy) XPCEventHandler eventHandler;
@property (nonatomic, readonly) xpc_connection_t connection;
@property (nonatomic, assign) dispatch_queue_t dispatchQueue;
View
2  XPCKit/XPCConnection.m
@@ -45,7 +45,7 @@ -(id)initWithConnection:(xpc_connection_t)connection{
_connection = xpc_retain(connection);
[self receiveConnection:_connection];
- dispatch_queue_t queue = dispatch_queue_create(NULL, 0);
+ dispatch_queue_t queue = dispatch_queue_create(xpc_connection_get_name(_connection), 0);
self.dispatchQueue = queue;
dispatch_release(queue);
Please sign in to comment.
Something went wrong with that request. Please try again.