Shutdown the DB on exit

This commit is contained in:
Oliver Akins 2022-08-09 19:11:07 -06:00
parent 631afe7ed4
commit dc767d3155
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -1,3 +1,6 @@
import { database } from "$/main";
export function cleanExit() {
database.shutdown();
process.exit(0);
};