Skip to content

Commit 63b5192

Browse files
committed
fix: destroy the inspector socket on debug socket close in order to avoid infinite wait on ctrl+c
1 parent 4b6d169 commit 63b5192

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/device-sockets/ios/app-debug-socket-proxy-factory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export class AppDebugSocketProxyFactory extends EventEmitter implements IAppDebu
6565

6666
appDebugSocket.on("close", () => {
6767
this.$logger.info("Backend socket closed");
68+
frontendSocket.destroy();
6869
});
6970

7071
appDebugSocket.pipe(frontendSocket);

0 commit comments

Comments
 (0)