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

Function dispose

src/kernels/common/baseJupyterSessionConnection.ts:115–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114 public abstract readonly status: KernelMessage.Status;
115 public override dispose() {
116 if (this.isDisposed) {
117 return;
118 }
119 super.dispose();
120 this.statusChanged.emit('dead');
121 this.disposed.emit();
122 Signal.disconnectAll(this);
123 }
124 abstract shutdown(): Promise<void>;
125 abstract waitForIdle(timeout: number, token: CancellationToken): Promise<void>;
126 public async restart(): Promise<void> {

Callers

nothing calls this directly

Calls 2

disposeMethod · 0.65
emitMethod · 0.45

Tested by

no test coverage detected