MCPcopy
hub / github.com/wavetermdev/waveterm / destroy

Method destroy

emain/emain-tabview.ts:227–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 }
226
227 destroy() {
228 console.log("destroy tab", this.waveTabId);
229 removeWaveTabView(this.waveTabId);
230 if (!this.isDestroyed) {
231 this.webContents?.close();
232 }
233 this.isDestroyed = true;
234 }
235}
236
237let MaxCacheSize = 10;

Callers 6

tryEvictEntryFunction · 0.45
handleWSEventFunction · 0.45
getUrlInSessionFunction · 0.45
initIpcHandlersFunction · 0.45
setSizeAndPositionFunction · 0.45

Calls 2

removeWaveTabViewFunction · 0.85
closeMethod · 0.80

Tested by

no test coverage detected