diff --git a/main.ts b/main.ts index 88521ee..19cd561 100644 --- a/main.ts +++ b/main.ts @@ -155,8 +155,6 @@ export default class LyricistHelperPlugin extends Plugin { onunload() { console.log('Unloading Lyricist Helper plugin...'); - // Detach the syllable count view when the plugin is unloaded - this.app.workspace.detachLeavesOfType(VIEW_TYPE_SYLLABLE_COUNT); } // Activate the syllable count view if it's not already active