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