(url: string)
| 264 | } |
| 265 | |
| 266 | export 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 | } |