Permalink
Browse files

Connection improvements

  • Loading branch information...
1 parent aa44622 commit f72ba7ead662ecf64d427a148bc906030601d66e @stevestreza stevestreza committed Jul 28, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 XPCKit/XPCConnection.h
  2. +1 −1 XPCKit/XPCConnection.m
@@ -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;
@@ -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);

0 comments on commit f72ba7e

Please sign in to comment.