MCPcopy Create free account
hub / github.com/material-shell/material-shell / destroy

Method destroy

src/manager/msManager.ts:40–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 };
39 }
40 destroy() {
41 this.signals.forEach((signal) => {
42 if (signal.from) {
43 try {
44 signal.from.disconnect(signal.id);
45 } catch (error) {
46 Debug.log(
47 `Failed to disconnect signal ${signal.id} from ${
48 signal.from
49 } ${
50 signal.from.constructor.name
51 } ${signal.from.toString()} `
52 );
53 }
54 }
55 });
56 }
57}

Callers

nothing calls this directly

Calls 3

disconnectMethod · 0.65
logMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected