MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / dispose

Function dispose

runtime/worker/engine.js:297–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295}
296
297export function dispose() {
298 wasmModule = null;
299 compilerExports = null;
300 cache = null;
301 loaders = [];
302 importsMap = null;
303 fetchedSources.clear();
304 knownMissing.clear();
305 resetNativeTable();
306 pendingHostCalls.clear();
307 hostCallDelegate = null;
308 loadHostDelegate = null;
309 lazyHostNames = [];
310 mainThreadManifests = [];
311}
312
313async function openCache(integrity) {
314 if (!integrity) return new MemoryCache();

Callers

nothing calls this directly

Calls 2

resetNativeTableFunction · 0.90
clearMethod · 0.45

Tested by

no test coverage detected