Improve API

This commit is contained in:
Andras Schmelczer 2025-11-27 21:30:17 +00:00
parent 6a82e88730
commit fe13f7d30f
4 changed files with 55 additions and 57 deletions

View file

@ -49,7 +49,11 @@ export default class VaultLinkPlugin extends Plugin {
this.registerEditorEvents(client);
this.register(async () => client.destroy());
this.register(async () => {
await client.waitUntilFinished();
await client.destroy();
});
await client.start();
});
}