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

Fix bug in onBeforeUnmount where .destroy() is called #248

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

shenie
Copy link
Contributor

@shenie shenie commented Oct 5, 2023

Previously the value was null and the if-stmt was sufficient before calling .destroy but since
#236, the if-stmt is always true so it ended up trying to call .destroy() on the empty object.

Previously the value was null and the if-stmt was sufficient before
calling .destroy but since
highcharts#236, the if-stmt is
always true so it ended up trying to call .destroy() on the empty
object.
@jszuminski jszuminski self-requested a review October 6, 2023 10:34
@jszuminski jszuminski added the bug Something isn't working as it should label Oct 6, 2023
Copy link
Contributor

@jszuminski jszuminski left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@jszuminski jszuminski merged commit 20a6874 into highcharts:master Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants