MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / closeBrowser

Function closeBrowser

src/liveShare/shareSession.ts:266–276  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

264}
265
266export function closeBrowser(url: string): void {
267 browserDisposables.find(
268 e => e.url === url
269 )?.Disposable.dispose();
270
271 for (const [key, item] of browserDisposables.entries()) {
272 if (item.url === url) {
273 browserDisposables.splice(key, 1);
274 }
275 }
276}

Callers 1

showBrowserFunction · 0.90

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected