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

Method onDisposeIsolate

test-app/runtime/src/main/cpp/ArgConverter.cpp:225–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224
225void ArgConverter::onDisposeIsolate(Isolate* isolate) {
226 auto itFound = s_type_long_operations_cache.find(isolate);
227 if (itFound != s_type_long_operations_cache.end()) {
228 delete itFound->second;
229 s_type_long_operations_cache.erase(itFound);
230 }
231}
232
233robin_hood::unordered_map<Isolate*, ArgConverter::TypeLongOperationsCache*> ArgConverter::s_type_long_operations_cache;

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected