Skip to content

Commit e05dfc0

Browse files
authored
Remove destroy plugin hook and replaced with afterDestroy (#824)
1 parent 13056a0 commit e05dfc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/annotation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default {
9292
}
9393
},
9494

95-
destroy(chart) {
95+
afterDestroy(chart) {
9696
chartStates.delete(chart);
9797
},
9898

0 commit comments

Comments
 (0)