MCPcopy Create free account
hub / github.com/AutoCodeStack/ios-device-farm / stop

Method stop

src/modules/wda-control/wda.go.ios.ts:43–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 async stop(): Promise<void> {
44 if (this.tunnelProc) {
45 await this.tunnelProc.stop("SIGINT");
46 logger.info("tunnel for device stopped successfully.");
47 }
48
49 if (this.runWdaProc) {
50 await this.runWdaProc.stop("SIGINT");
51 logger.info("runwda process stopped");
52 this.removeListeners();
53 }
54 }
55
56 removeListeners(): void {
57 if (this.tunnelProc) {

Callers 1

stopTunnelsMethod · 0.45

Calls 1

removeListenersMethod · 0.95

Tested by

no test coverage detected