Skip to content

Commit

Permalink
The recordTiming future message hook should always return true.
Browse files Browse the repository at this point in the history
Returning false prevents the message from being processed by the future or by any other hook, which messes everything up.

Fixes jupyterlab#8056
  • Loading branch information
jasongrout committed Mar 19, 2020
1 parent d87de68 commit 3675fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cells/src/widget.ts
Expand Up @@ -1076,11 +1076,11 @@ export namespace CodeCell {
label = 'execute_input';
break;
default:
return false;
return true;
}
const value = msg.header.date;
if (!value) {
return false;
return true;
}
const timingInfo: any = Object.assign(
{},
Expand Down

0 comments on commit 3675fad

Please sign in to comment.