Skip to content

Commit

Permalink
Merge pull request #5377 from KevinTCoughlin/user/kevintcoughlin/disp…
Browse files Browse the repository at this point in the history
…ose-async
  • Loading branch information
hugoabernier authored Jan 21, 2025
2 parents 10ce0a7 + d3c6ba6 commit 788a438
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ export class EditorPanel extends React.Component<IEditorPanelProps, IEditorPanel
this._delayedChange = this._async.debounce(this._handleOnChanged, this.props.deferredValidationTime ? this.props.deferredValidationTime : 200);
}

public componentWillUnmount(): void {
this._async.dispose();
}

// public componentDidMount(): void {
// if (this.props.customMode !== undefined) {
// try {
Expand Down

0 comments on commit 788a438

Please sign in to comment.