MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / closeActiveWindows

Function closeActiveWindows

src/test/initialize.ts:34–41  ·  view source on GitHub ↗
(disposables: IDisposable[] = [])

Source from the content-addressed store, hash-verified

32}
33
34export async function closeActiveWindows(disposables: IDisposable[] = []): Promise<void> {
35 if (!IS_SMOKE_TEST()) {
36 clearPendingChainedUpdatesForTests();
37 }
38 clearPendingTimers();
39 dispose(disposables);
40 await closeWindowsAndNotebooks();
41}
42async function closeWindowsAndNotebooks(): Promise<void> {
43 if (!isInsiders() || !isANotebookOpen()) {
44 await closeWindowsInternal();

Calls 4

IS_SMOKE_TESTFunction · 0.90
clearPendingTimersFunction · 0.90
disposeFunction · 0.90
closeWindowsAndNotebooksFunction · 0.85

Tested by 1