Skip to content

Commit

Permalink
Fixed an issue that caused Burn to always set PendingFileRenameOperat…
Browse files Browse the repository at this point in the history
…ions when trying to remove the cached folder.

Fixes 8053.

Change-Id: Idd04fd7caedd6968f6c7e8f305c61976f1fcca94
  • Loading branch information
benperet committed Jan 15, 2025
1 parent 523c66a commit 5c107c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/burn/engine/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,6 @@ extern "C" HRESULT EngineRun(
LoggingOpenFailed();
}

BootstrapperApplicationRemove(&engineState.userExperience);

CacheRemoveBaseWorkingFolder(&engineState.cache);
CacheUninitialize(&engineState.cache);

// If this is a related bundle (but not an update) suppress restart and return the standard restart error code.
if (engineState.fRestart && BOOTSTRAPPER_RELATION_NONE != engineState.command.relationType && BOOTSTRAPPER_RELATION_UPDATE != engineState.command.relationType)
{
Expand Down Expand Up @@ -285,6 +280,11 @@ extern "C" HRESULT EngineRun(
}
}

BootstrapperApplicationRemove(&engineState.userExperience);

CacheRemoveBaseWorkingFolder(&engineState.cache);
CacheUninitialize(&engineState.cache);

// If the message window is still around, close it.
UiCloseMessageWindow(&engineState);

Expand Down

0 comments on commit 5c107c0

Please sign in to comment.