Skip to content

Commit

Permalink
Connection improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
stevestreza committed Jul 28, 2011
1 parent aa44622 commit f72ba7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion XPCKit/XPCConnection.h
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion XPCKit/XPCConnection.m
Expand Up @@ -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);

Expand Down

0 comments on commit f72ba7e

Please sign in to comment.