1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Cli: Fix last change sometimes lost when not in TUI mode (#13090)

This commit is contained in:
Henry Heino
2025-09-08 04:03:13 -07:00
committed by GitHub
parent 88f687ba6a
commit f6b3f9860c
4 changed files with 16 additions and 2 deletions

View File

@@ -432,6 +432,7 @@ class Application extends BaseApplication {
}
await Setting.saveAll();
await this.database_.close();
// Need to call exit() explicitly, otherwise Node wait for any timeout to complete
// https://stackoverflow.com/questions/18050095