MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / cleanup

Function cleanup

src/splat/gaussianCloudLoader.ts:235–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233 return new Promise((resolve, reject) => {
234 let settled = false;
235 const cleanup = () => {
236 worker.onmessage = null;
237 worker.onerror = null;
238 worker.terminate();
239 };
240 const settle = (callback: () => void) => {
241 if (settled) return;
242 settled = true;

Callers 1

settleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected