summaryrefslogtreecommitdiff
path: root/src/burn/engine/uithread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/uithread.cpp')
-rw-r--r--src/burn/engine/uithread.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/burn/engine/uithread.cpp b/src/burn/engine/uithread.cpp
index 673111f8..8ddd51bd 100644
--- a/src/burn/engine/uithread.cpp
+++ b/src/burn/engine/uithread.cpp
@@ -222,6 +222,16 @@ static LRESULT CALLBACK WndProc(
222 ::Sleep(250); 222 ::Sleep(250);
223 } 223 }
224 224
225 // If this is the per-machine process then close the logging pipe with the parent process.
226 if (pInfo->fElevatedEngine)
227 {
228 CoreCloseElevatedLoggingThread(pInfo->pEngineState);
229 }
230 else
231 {
232 CoreWaitForUnelevatedLoggingThread(pInfo->pEngineState->hUnelevatedLoggingThread);
233 }
234
225 LogStringWorkRaw("=======================================\r\n"); 235 LogStringWorkRaw("=======================================\r\n");
226 236
227 // Close the log to try to make sure everything is flushed to disk. 237 // Close the log to try to make sure everything is flushed to disk.