Skip to content

Commit

Permalink
Fix comm open messages also firing as display data messages (#5464)
Browse files Browse the repository at this point in the history
Addresses #5463.
  • Loading branch information
seeM authored Nov 23, 2024
1 parent dfbd6f8 commit 81fce8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/positron-supervisor/src/RuntimeMessageEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export class RuntimeMessageEmitter {
break;
case 'comm_open':
this.onCommOpen(msg, msg.content as JupyterCommOpen);
break;
case 'display_data':
this.onDisplayData(msg, msg.content as JupyterDisplayData);
break;
Expand All @@ -66,6 +67,7 @@ export class RuntimeMessageEmitter {
break;
case 'stream':
this.onStreamOutput(msg, msg.content as JupyterStreamOutput);
break;
}
}

Expand Down

0 comments on commit 81fce8f

Please sign in to comment.