Skip to content

Commit dff5ca4

Browse files
author
Fatme
authored
Merge pull request #3633 from NativeScript/bektchiev/ios-debug-close-frontend-socket
fix(ios-debugging): Close frontend socket unconditionally
2 parents c08b575 + 94ce096 commit dff5ca4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ export class SocketProxyFactory extends EventEmitter implements ISocketProxyFact
132132

133133
deviceSocket.on("close", () => {
134134
this.$logger.info("Backend socket closed!");
135-
if (!this.$options.watch) {
136-
webSocket.close();
137-
}
135+
webSocket.close();
138136
});
139137

140138
webSocket.on("close", () => {

0 commit comments

Comments
 (0)