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

Method destroy

src/layout/msWorkspace/msWorkspace.ts:193–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 }
192
193 destroy() {
194 logAssert(!this.destroyed, 'Workspace is destroyed');
195 this.appLauncher.onDestroy();
196 this.layout.onDestroy();
197 if (this.msWorkspaceActor) {
198 this.msWorkspaceActor.destroy();
199 }
200 this.destroyed = true;
201 }
202
203 /** Index of the focused tileable.
204 * If there are no tileables in the workspace, this will be zero.

Callers

nothing calls this directly

Calls 3

logAssertFunction · 0.90
destroyMethod · 0.65
onDestroyMethod · 0.45

Tested by

no test coverage detected