Skip to content

Remove destroy plugin hook and replaced with afterDestroy#824

Merged
stockiNail merged 1 commit into
chartjs:masterfrom
stockiNail:destroy
Dec 29, 2022
Merged

Remove destroy plugin hook and replaced with afterDestroy#824
stockiNail merged 1 commit into
chartjs:masterfrom
stockiNail:destroy

Conversation

@stockiNail
Copy link
Copy Markdown
Collaborator

@stockiNail stockiNail commented Dec 28, 2022

With CHART.JS 4, PR chartjs/Chart.js#10549, the destroy plugin hook has been removed and replaced with afterDestroy.
Currently, the version 2.1.0 is not cleaning the states map.

@stockiNail stockiNail added this to the 2.1.1 milestone Dec 28, 2022
@stockiNail stockiNail merged commit e05dfc0 into chartjs:master Dec 29, 2022
@stockiNail stockiNail deleted the destroy branch December 29, 2022 10:01
Comment thread src/annotation.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants