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

Method dispose

src/kernels/execution/codeExecution.ts:148–157  ·  view source on GitHub ↗

* This method is called when all execution has been completed (successfully or failed). * Or when execution has been cancelled.

()

Source from the content-addressed store, hash-verified

146 * Or when execution has been cancelled.
147 */
148 public dispose() {
149 if (this.disposed) {
150 return;
151 }
152 this.disposed = true;
153 if (!this._completed) {
154 traceExecMessage(this.extensionId, this.executionId, 'Execution disposed');
155 }
156 dispose(this.disposables);
157 }
158
159 private async execute(code: string, session: IKernelSession) {
160 if (!session.kernel) {

Callers 1

cancelMethod · 0.95

Calls 2

disposeFunction · 0.90
traceExecMessageFunction · 0.85

Tested by

no test coverage detected