Skip to content

Commit

Permalink
[Darwin] MTRDevice_XPC needs to initialize queue
Browse files Browse the repository at this point in the history
  • Loading branch information
jtung-apple committed Feb 20, 2025
1 parent 5398152 commit 6bc0e91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/darwin/Framework/CHIP/MTRDevice_XPC.mm
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,12 @@
@implementation MTRDevice_XPC

@synthesize _internalState;
@synthesize queue = _queue;

- (instancetype)initWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceController_XPC *)controller
{
if (self = [super initForSubclassesWithNodeID:nodeID controller:controller]) {
// Nothing else to do, all set.
_queue = dispatch_queue_create("org.csa-iot.matter.framework.devicexpc.workqueue", DISPATCH_QUEUE_SERIAL_WITH_AUTORELEASE_POOL);
}

return self;
Expand Down

0 comments on commit 6bc0e91

Please sign in to comment.