MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / removePreview3mfWorker

Function removePreview3mfWorker

main.js:57–63  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

55 });
56}
57
58function terminatePreview3mfWorker(entry) {
59 if (!entry?.worker) return;
60 try {
61 entry.worker.terminate();
62 } catch (error) {
63 console.error('Error terminating 3MF preview worker:', error);
64 }
65}
66

Callers 2

onErrorFunction · 0.85
main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected