Skip to content

Commit 10da8aa

Browse files
committed
make WIP slightly more sensible
1 parent dd35680 commit 10da8aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ - (id)initWithTestXPCListener {
4949

5050
- (id)initWithXPCConnection:(NSXPCConnection *)newConnection
5151
{
52-
// if (!(self = [super initForSubclasses])) {
53-
// return nil;
54-
// }
52+
if (!(self = [super initForSubclasses])) {
53+
return nil;
54+
}
5555

5656
self.xpcConnection.remoteObjectInterface = [NSXPCInterface interfaceWithProtocol:@protocol(MTRXPCServiceProtocol)];
5757
self.xpcRemoteObjectProxy = self.xpcConnection.remoteObjectProxy;

0 commit comments

Comments
 (0)