MCPcopy Create free account
hub / github.com/NativeScript/android / GetInstance

Method GetInstance

test-app/runtime/src/main/cpp/JsV8InspectorClient.cpp:284–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284JsV8InspectorClient* JsV8InspectorClient::GetInstance() {
285 if (instance == nullptr) {
286 instance = new JsV8InspectorClient(Runtime::GetRuntime(0)->GetIsolate());
287 }
288
289 return instance;
290}
291
292void JsV8InspectorClient::inspectorSendEventCallback(const FunctionCallbackInfo<Value>& args) {
293 if ((instance == nullptr) || (instance->connection_ == nullptr)) {

Callers

nothing calls this directly

Calls 1

GetIsolateMethod · 0.45

Tested by

no test coverage detected