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 noticed that the DatabaseTracker class currently lacks a dispose() method to explicitly close the _db resource. This could potentially lead to resource leaks, especially in long-running applications or during Flutter hot restarts.
Would it be okay if I worked on adding a dispose() method to ensure proper cleanup of the in-memory SQLite database and any related resources?
The text was updated successfully, but these errors were encountered:
Thanks. Since the original PR cannot be reopened due to being merged, I've created a new PR with the same changes for further investigation. Here's the link to the new PR.
Please let me know if there's anything else I should look into to help resolve the CI issue.
https://github.com/simolus3/drift/blob/develop/drift/lib/src/sqlite3/database_tracker.dart
I noticed that the DatabaseTracker class currently lacks a dispose() method to explicitly close the _db resource. This could potentially lead to resource leaks, especially in long-running applications or during Flutter hot restarts.
Would it be okay if I worked on adding a
dispose()
method to ensure proper cleanup of the in-memory SQLite database and any related resources?The text was updated successfully, but these errors were encountered: