Skip to content

Commit

Permalink
replaced unload to onunload
Browse files Browse the repository at this point in the history
  • Loading branch information
denisoed committed Jan 26, 2021
1 parent bab8782 commit 8451672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class OrthographyPlugin extends Plugin {
});
}

unload() {
onunload() {
this.emitter.off('onUpdateSettings', this.onUpdateSettings.bind(this));
this.runner.destroy();
this.tooltip.destroy();
Expand Down

0 comments on commit 8451672

Please sign in to comment.