Skip to content

Commit 98376a4

Browse files
committed
AC-6057: Fixed lock exception scenario
1 parent 34e7a5a commit 98376a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Quote/Model/QuoteManagement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ protected function submitQuote(QuoteEntity $quote, $orderData = [])
633633
$this->quoteRepository->save($quote);
634634
$this->lockManager->unlock($lockedName);
635635
} catch (\Exception $e) {
636+
$this->lockManager->unlock($lockedName);
636637
$this->rollbackAddresses($quote, $order, $e);
637638
throw $e;
638639
}

0 commit comments

Comments
 (0)