Skip to content

Commit

Permalink
Merge pull request #7225 from pjonsson/dispose-story
Browse files Browse the repository at this point in the history
ViewState: add reaction to dispose
  • Loading branch information
na9da authored Oct 22, 2024
2 parents a0b6fc2 + d2b9ecc commit dec38bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ReactViewModels/ViewState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ export default class ViewState {
this._previewedItemIdSubscription();
this._workbenchHasTimeWMSSubscription();
this._locationMarkerSubscription();
this._storyBeforeUnloadSubscription();
this.searchState.dispose();
}

Expand Down

0 comments on commit dec38bd

Please sign in to comment.