diff --git a/src/main.ts b/src/main.ts index 1636c28..f38407d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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();