Replace os.exit with wails quit
Exit would prevent defers from running which meant db would be left dangling
This commit is contained in:
Reference in New Issue
Block a user
Exit would prevent defers from running which meant db would be left dangling