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

Method DestroyRuntime

test-app/runtime/src/main/cpp/Runtime.cpp:953–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953void Runtime::DestroyRuntime() {
954 s_id2RuntimeCache.erase(m_id);
955 s_isolate2RuntimesCache.erase(m_isolate);
956 tns::disposeIsolate(m_isolate);
957}
958
959Local<Context> Runtime::GetContext() {
960 return this->m_context->Get(this->m_isolate);

Calls 2

disposeIsolateFunction · 0.85
eraseMethod · 0.80

Tested by

no test coverage detected