Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ignore errors on await, don't want to stop and wait for shutdown
  • Loading branch information
IanMatthewHuff committed Aug 29, 2019
commit 277d90430ed07490a7282b08c23bdf6688d3092b
4 changes: 2 additions & 2 deletions src/client/datascience/jupyter/jupyterSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class JupyterSession implements IJupyterSession {
oldSession.statusChanged.disconnect(oldStatusHandler);
}

this.shutdownSession(oldSession, undefined);
this.shutdownSession(oldSession, undefined).ignoreErrors();
} else {
throw new Error(localize.DataScience.sessionDisposed());
}
Expand Down Expand Up @@ -206,7 +206,7 @@ export class JupyterSession implements IJupyterSession {
traceInfo(`Error waiting for restart session: ${exc}`);
tryCount += 1;
if (result) {
this.shutdownSession(result, undefined);
this.shutdownSession(result, undefined).ignoreErrors();
}
result = undefined;
exception = exc;
Expand Down