MCPcopy Index your code
hub / github.com/CapSoftware/Cap / dispose

Function dispose

apps/desktop/src/utils/auth.ts:161–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159 });
160
161 const dispose = async () => {
162 stopListening?.();
163 stopListening = undefined;
164 settle(null);
165 await invoke("plugin:oauth|stop").catch(() => {});
166 };
167
168 signal.addEventListener("abort", () => void dispose(), { once: true });
169

Callers 15

finishFunction · 0.85
startDeepLinkSessionFunction · 0.85
SliderFunction · 0.85
createDragFunction · 0.85
ZoomSegmentConfigFunction · 0.85
onPickFunction · 0.85
finishFunction · 0.85
finishFunction · 0.85
finishFunction · 0.85
onUpFunction · 0.85
createMouseDownDragFunction · 0.85

Calls 1

settleFunction · 0.70

Tested by

no test coverage detected