-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Data.Sqlite: Consider being strict about requiring disposal of DbCommands #13836
Comments
Note, we're going to make this change early in the 3.0 timeframe so customers have plenty of opportunity to provide feedback. |
What does this mean? Do we need to Dispose every Command after the change? |
Since |
Removing this code could lead to more zombied connections and database files being locked longer. |
The architecture I have in mind for #14044 will remove the need to dispose SqliteCommand objects. It will also allow them to be disposed while their SqliteDataReader is open. |
This would be a breaking change, but would have the advantage of cleaning up code like that in aspnet/Microsoft.Data.Sqlite#506.
The text was updated successfully, but these errors were encountered: