Skip to content

Commit 6d2a2ee

Browse files
committed
resource dispose
1 parent dfaa38a commit 6d2a2ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ReportGenerator/ReportGeneratorCore/Extractor/SimpleDbExtractor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ private async Task<DbData> ReadDataImplAsync(DbCommand command)
142142
}
143143
result.Rows.Add(dbRow);
144144
}
145+
reader.Close();
146+
reader.Dispose();
145147
return result;
146148
}
147149
catch (Exception e)

0 commit comments

Comments
 (0)