Add cleanup

This commit is contained in:
Mark Ayers 2025-03-13 01:19:39 -04:00
parent 00ab550777
commit 81ef5be35c

View file

@ -195,6 +195,11 @@ export default class AtomizerPlugin extends Plugin {
this.statusBarItem.setText("Atomizer: ready");
}
onunload() {
// Clean up the status bar item
this.statusBarItem.remove();
}
async atomizeNote(view: MarkdownView) {
if (!this.validateSettings()) return;