Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewState: add reaction to dispose #7225

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

pjonsson
Copy link
Contributor

What this PR does

The _storyBeforeUnloadSubscription is
not referenced from the dispose method
unlike the other reactions, so add
it there.

Test me

I don't know how to test this.

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

The _storyBeforeUnloadSubscription is
not referenced from the dispose method
unlike the other reactions, so add
it there.
Copy link
Collaborator

@na9da na9da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct. Thanks @pjonsson.

@na9da na9da merged commit dec38bd into TerriaJS:main Oct 22, 2024
5 checks passed
@pjonsson pjonsson deleted the dispose-story branch October 25, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants