diff --git a/src/Microsoft.Data.Sqlite.Core/SqliteDataReader.cs b/src/Microsoft.Data.Sqlite.Core/SqliteDataReader.cs index ba4ebd90476..62c7e40c5e4 100644 --- a/src/Microsoft.Data.Sqlite.Core/SqliteDataReader.cs +++ b/src/Microsoft.Data.Sqlite.Core/SqliteDataReader.cs @@ -227,7 +227,7 @@ public override void Close() /// protected override void Dispose(bool disposing) { - if (!disposing) + if (!disposing || _closed) { return; }