Skip to content

Commit ec692a6

Browse files
committed
Update SqlServerJobQueue.cs
1 parent 508f6ba commit ec692a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/Hangfire.SqlServer/SqlServerJobQueue.cs

+1
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ private SqlServerTransactionJob DequeueUsingTransaction(string[] queues, Cancell
295295
finally
296296
{
297297
transaction?.Dispose();
298+
transaction = null;
298299
_storage.ReleaseConnection(connection);
299300
}
300301

0 commit comments

Comments
 (0)