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

Method dispose

src/platform/common/utils/lifecycle.ts:101–108  ·  view source on GitHub ↗

* Dispose of all registered disposables and mark this object as disposed. * * Any future disposables added to this object will be disposed of on `add`.

()

Source from the content-addressed store, hash-verified

99 * Any future disposables added to this object will be disposed of on `add`.
100 */
101 public dispose(): void {
102 if (this._isDisposed) {
103 return;
104 }
105
106 this._isDisposed = true;
107 this.clear();
108 }
109
110 /**
111 * @return `true` if this object has been disposed of.

Callers 6

selectKernelAndStartFunction · 0.95
crateMockedPythonApiFunction · 0.95
wrapAndReportProgressMethod · 0.95
disposeOnReturnFunction · 0.95

Calls 1

clearMethod · 0.95

Tested by 1

crateMockedPythonApiFunction · 0.76