MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / removeAllChildViews

Method removeAllChildViews

emain/emain-window.ts:361–368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359 }
360
361 private removeAllChildViews() {
362 for (const tabView of this.allLoadedTabViews.values()) {
363 if (!this.isDestroyed()) {
364 this.contentView.removeChildView(tabView);
365 }
366 tabView?.destroy();
367 }
368 }
369
370 async switchWorkspace(workspaceId: string) {
371 console.log("switchWorkspace", workspaceId, this.waveWindowId);

Callers 2

constructorMethod · 0.95
processActionQueueMethod · 0.95

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected