Skip to content

Commit 830d551

Browse files
moar
1 parent 6bf09b8 commit 830d551

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WebDriverAgentLib/Utilities/FBMjpegServer.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ - (instancetype)init
5757
_sentFramesCount = 0;
5858
_sentBytesCount = 0;
5959
_listeningClients = [NSMutableArray array];
60+
_imageProcessor = [[FBImageProcessor alloc] init];
61+
_mainScreenID = [XCUIScreen.mainScreen displayID];
6062
dispatch_queue_attr_t queueAttributes = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_UTILITY, 0);
6163
_backgroundQueue = dispatch_queue_create(QUEUE_NAME, queueAttributes);
6264
__weak typeof(self) weakSelf = self;
6365
dispatch_async(_backgroundQueue, ^{
6466
[weakSelf streamScreenshot];
6567
});
66-
_imageProcessor = [[FBImageProcessor alloc] init];
67-
_mainScreenID = [XCUIScreen.mainScreen displayID];
6868
}
6969
return self;
7070
}

0 commit comments

Comments
 (0)