Skip to content

Commit d2d3b65

Browse files
committed
fix: Don't disconnect inspector when frontend connects
This seems incorrect: we disconnect the inspector in the callback for the frontend being connected. It leads to isConnected_ being false when we actually go to send the console.log messages to the frontend. However, I'm not 100% sure whether this is the correct fix. Please check carefully.
1 parent eaa8dd7 commit d2d3b65

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

NativeScript/inspector/JsV8InspectorClient.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@
105105
}
106106

107107
this->sender_ = sender;
108-
this->disconnect();
109108
}
110109

111110
void JsV8InspectorClient::onFrontendMessageReceived(std::string message) {

0 commit comments

Comments
 (0)