Add support for both wasm/ffi version of sqlite3

This commit is contained in:
2024-01-21 20:35:36 +08:00
parent ae43c53299
commit 4d886cb85a
12 changed files with 117 additions and 14 deletions

View File

@@ -30,6 +30,7 @@ export async function startServer(path: string) {
cfg_path = path;
const cfg = await load_settings(path);
task_manager = new TaskManager(cfg);
await task_manager.init();
task_manager.run(true).catch((e) => {
if (!(e instanceof AlreadyClosedError)) throw e;
});