mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
committed by
Sebastien Ros
parent
42f1583db3
commit
e96c392479
@@ -87,14 +87,14 @@ namespace Orchard.Data {
|
||||
Logger.Debug("Reverting operations from transaction");
|
||||
_transaction.Rollback();
|
||||
}
|
||||
|
||||
_transaction.Dispose();
|
||||
Logger.Debug("Transaction disposed");
|
||||
}
|
||||
catch (Exception e) {
|
||||
Logger.Error(e, "Error while disposing the transaction.");
|
||||
}
|
||||
finally {
|
||||
_transaction.Dispose();
|
||||
Logger.Debug("Transaction disposed");
|
||||
|
||||
_transaction = null;
|
||||
_cancelled = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user