Unhandled promise rejection in future.js of @jupyterlab/services #4790
Labels
status:resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Using v 2.0.3, when calling
kernel.dispose()
an unhandled future rejection might occur innode_modules/@jupyterlab/services/lib/kernel/future.js:155
.I've looked at the code, and it seems that there is some code which just tries to catch the rejected promise: See
this._done.promise.catch(() => { /* no-op */ });
here https://github.com/jupyterlab/jupyterlab/blob/master/packages/services/src/kernel/future.ts#L162However when I look at the transpiled
future.js
, this part is missing, which leads to unhandled promise rejections.The text was updated successfully, but these errors were encountered: