Skip to content

Commit

Permalink
Close attached bundle-extension container before attempting to open i…
Browse files Browse the repository at this point in the history
…t as detached
  • Loading branch information
nirbar committed Mar 11, 2024
1 parent a7716f4 commit 58e6f34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/burn/engine/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ extern "C" HRESULT ContainerOpen(
{
LogId(REPORT_STANDARD, MSG_EXT_ATTACHED_CONTAINER_FAILED, pContainer->sczId);

BurnExtensionContainerClose(pContext->Bex.pExtension, pContext);

hr = FileCreateTemp(L"CNTNR", L"dat", &szTempFile, NULL);
ExitOnFailure(hr, "Failed to create temporary container file");

Expand Down

0 comments on commit 58e6f34

Please sign in to comment.