mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 18:22:34 -05:00
* Fixed #4206 and #4207 * Check if it makes my PR run tests * Add isReady to JupyterSessionManager
This commit is contained in:
@@ -150,11 +150,16 @@ export class JupyterSessionManager implements nb.SessionManager {
|
||||
}
|
||||
|
||||
public shutdownAll(): Promise<void> {
|
||||
return this._sessionManager.shutdownAll();
|
||||
if (this._isReady) {
|
||||
return this._sessionManager.shutdownAll();
|
||||
}
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
this._sessionManager.dispose();
|
||||
if (this._isReady) {
|
||||
this._sessionManager.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user