Skip to content

Commit

Permalink
fix: subscribe webview to have it unregistered automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed Jan 10, 2024
1 parent 45822e8 commit 0cc69ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/studio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class Studio {

// register webview
this.#panel = window.createWebviewPanel('studio', 'Studio extension', this.getWebviewOptions(extensionUri));
this.#extensionContext.subscriptions.push(this.#panel);

// update html

Expand Down

0 comments on commit 0cc69ba

Please sign in to comment.