Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Aug 17, 2022
1 parent 7f354bf commit 125395b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernels/raw/session/rawJupyterSession.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export class RawJupyterSession extends BaseJupyterSession implements IRawKernelC
traceVerbose('Successfully waited for Raw Session to be ready in postStartRawSession');
} catch (ex) {
traceError('Failed waiting for Raw Session to be ready', ex);
process.dispose();
await process.dispose();
result.dispose().catch(noop);
if (isCancellationError(ex) || options.token.isCancellationRequested) {
throw new CancellationError();
Expand Down Expand Up @@ -329,7 +329,7 @@ export class RawJupyterSession extends BaseJupyterSession implements IRawKernelC
]);
} catch (ex) {
traceError('Failed to request kernel info', ex);
process.dispose();
await process.dispose();
result.dispose().catch(noop);
throw ex;
} finally {
Expand Down

0 comments on commit 125395b

Please sign in to comment.