We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ab55db commit 3498781Copy full SHA for 3498781
2 files changed
WebDriverAgentLib/Routing/FBTCPSocket.m
@@ -49,6 +49,7 @@ - (void)stop
49
{
50
@synchronized(self.connectedClients) {
51
NSArray *clients = self.connectedClients.copy;
52
+ [self.connectedClients removeAllObjects];
53
for (GCDAsyncSocket *client in clients) {
54
[client disconnect];
55
}
lib/xcodebuild.ts
@@ -465,7 +465,7 @@ export class XcodeBuild {
465
try {
466
currentStatus = (await noSessionProxy.command('/status', 'GET')) as StringRecord;
467
if (currentStatus?.ios?.ip) {
468
- this.agentUrl = currentStatus.ios.ip as string | undefined;
+ this.agentUrl = currentStatus.ios.ip as string;
469
470
this.log.debug(`WebDriverAgent information:`);
471
this.log.debug(JSON.stringify(currentStatus, null, 2));
0 commit comments