Skip to content

Commit

Permalink
Dismiss the chat widget on dispose (#202363)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix authored Jan 12, 2024
1 parent ce962df commit f0aff16
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ export class NotebookCellChatController extends Disposable {
// might not be attached
}

// dismiss since we can't restore the widget properly now
this.dismiss(false);
this._widget?.dispose();
this._inlineChatListener?.dispose();
this._toolbar?.dispose();
Expand Down

0 comments on commit f0aff16

Please sign in to comment.