Improve API

This commit is contained in:
Andras Schmelczer 2025-11-27 21:30:17 +00:00
parent d45d2c0be3
commit 9d60ec14dd
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();
});
}