From e03e41bd0df88f3fd7c3ff11e5ec48f77f7f3119 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Oct 2016 11:21:53 +0200 Subject: [PATCH] Projucer: hard shutdown of the compiler process in release builds to avoid busy waiting --- .../LiveBuildEngine/projucer_CompileEngineClient.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp b/extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp index 13e8008e4f..23c906b493 100644 --- a/extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp +++ b/extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp @@ -149,7 +149,15 @@ public: { #if RUN_CLANG_IN_CHILD_PROCESS if (childProcess.isRunning()) + { + #if JUCE_DEBUG killServerPolitely(); + #else + // in release builds we don't want to wait + // for the server to clean up and shut down + killServerWithoutMercy(); + #endif + } #endif }