Skip to content

Commit

Permalink
webview: Unintended Recursion fix
Browse files Browse the repository at this point in the history
This commit closed the issue eclipse-theia#12178.

Signed-off-by: FernandoAscencio <[email protected]>
  • Loading branch information
FernandoAscencio committed Feb 24, 2023
1 parent 8cd563e commit d108044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-ext/src/plugin/webview-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ export class WebviewViewExtImpl implements theia.WebviewView {

set title(value: string | undefined) {
this.assertNotDisposed();
if (this.title !== value) {
this.title = value;
if (this._title !== value) {
this._title = value;
this.proxy.$setWebviewViewTitle(this.handle, value);
}
}
Expand Down

0 comments on commit d108044

Please sign in to comment.