Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit ccb242c

Browse files
committed
last fix pls?
1 parent ab2e478 commit ccb242c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite/Dapper/SqlMapper.Async.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ public static async Task<GridReader> QueryMultipleAsync(this IDbConnection cnn,
770770
{ /* don't spoil the existing exception */ }
771771
reader.Dispose();
772772
}
773-
cmd?.Dispose();
773+
if (cmd != null) cmd.Dispose();
774774
if (wasClosed) cnn.Close();
775775
throw;
776776
}

0 commit comments

Comments
 (0)