mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Notebooks: Use new Python installation after configuration change (#14765)
* start new jupyter server * restart session working (removed extra code) * only restart server once * shutdown session first then stop server * add comments remove extra lines * add comment * fix test * only restart jupyter sessions * Dispose jupytersessionmanager and create new one * move restart server logic out of notebookmodel * move methods to azdata proposed * pr comment
This commit is contained in:
@@ -255,6 +255,14 @@ class SessionManagerWrapper implements azdata.nb.SessionManager {
|
||||
this._specs = specs;
|
||||
}
|
||||
}
|
||||
|
||||
shutdownAll(): Thenable<void> {
|
||||
return this._proxy.ext.$shutdownAll(this.managerHandle);
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
return this._proxy.ext.$dispose(this.managerHandle);
|
||||
}
|
||||
}
|
||||
|
||||
class SessionWrapper implements azdata.nb.ISession {
|
||||
|
||||
Reference in New Issue
Block a user