We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 060914d commit a2aad51Copy full SHA for a2aad51
lib/device-sockets/ios/socket-proxy-factory.ts
@@ -132,12 +132,13 @@ export class SocketProxyFactory extends EventEmitter implements ISocketProxyFact
132
deviceSocket.on("close", () => {
133
this.$logger.info("Backend socket closed!");
134
if (!this.$options.watch) {
135
- process.exit(0);
+ webSocket.close();
136
}
137
});
138
139
webSocket.on("close", () => {
140
this.$logger.info('Frontend socket closed!');
141
+ deviceSocket.destroy();
142
143
process.exit(0);
144
0 commit comments