You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed a few times that all my data is lost after a Hot Restart. It's quite rare, but obviously worrying :)
I suspect my usage patterns aren't great - tend to open() before each query/write and close() after. What's the recommended way of opening and closing a db in Flutter?
The text was updated successfully, but these errors were encountered:
Thanks for the report. Even a hot restart should not corrupt data but that is not something easy to reproduce to debug it. My recommended usage is to keep the database open (never close it)
Hi
I've noticed a few times that all my data is lost after a Hot Restart. It's quite rare, but obviously worrying :)
I suspect my usage patterns aren't great - tend to
open()
before each query/write andclose()
after. What's the recommended way of opening and closing a db in Flutter?The text was updated successfully, but these errors were encountered: