diff options
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. |