We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 394a216 commit f93b3a6Copy full SHA for f93b3a6
2 files changed
src/client/jupyter/jupyter_client-Kernel.ts
@@ -12,7 +12,7 @@ export class JupyterClientKernel extends Kernel {
12
}
13
14
public dispose() {
15
- this.shutdown();
+ this.shutdown().catch(()=>{});
16
super.dispose();
17
};
18
src/client/jupyter/jupyter_client/main.ts
@@ -27,7 +27,7 @@ export class JupyterClientAdapter extends EventEmitter implements IJupyterClient
27
28
29
try {
30
- this.ipythonAdapter.sendKernelCommand(this.lastStartedKernelUUID, KernelCommand.shutdown);
+ this.ipythonAdapter.sendKernelCommand(this.lastStartedKernelUUID, KernelCommand.shutdown).catch(()=>{});
31
32
catch (ex) {
33
0 commit comments