diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-06 17:09:47 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-02-06 17:29:29 -0600 |
commit | 5fc93f9399795156b4a1fbde5f410ca01d94d609 (patch) | |
tree | 2fd3f9c33c472d4a2150807807e522833acdbac5 /src/engine/engine.cpp | |
parent | d5c041befbb60e7bfce14af2eaf1e8c686524209 (diff) | |
download | wix-5fc93f9399795156b4a1fbde5f410ca01d94d609.tar.gz wix-5fc93f9399795156b4a1fbde5f410ca01d94d609.tar.bz2 wix-5fc93f9399795156b4a1fbde5f410ca01d94d609.zip |
Cleanup should always be attempted, and add some logging for it.
Continuation of #6297
Diffstat (limited to 'src/engine/engine.cpp')
-rw-r--r-- | src/engine/engine.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 98c98661..7e6e2922 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp | |||
@@ -592,13 +592,12 @@ static HRESULT RunNormal( | |||
592 | ExitOnFailure(hr, "Failed while running "); | 592 | ExitOnFailure(hr, "Failed while running "); |
593 | } while (fReloadApp); | 593 | } while (fReloadApp); |
594 | 594 | ||
595 | LExit: | ||
595 | if (!fSkipCleanup) | 596 | if (!fSkipCleanup) |
596 | { | 597 | { |
597 | hr = CoreCleanup(pEngineState); | 598 | CoreCleanup(pEngineState); |
598 | ExitOnFailure(hr, "Failed to cleanup before shutting down"); | ||
599 | } | 599 | } |
600 | 600 | ||
601 | LExit: | ||
602 | BurnExtensionUnload(&pEngineState->extensions); | 601 | BurnExtensionUnload(&pEngineState->extensions); |
603 | 602 | ||
604 | // If the message window is still around, close it. | 603 | // If the message window is still around, close it. |