Browse Source

Projucer: hard shutdown of the compiler process in release builds to avoid busy waiting

tags/2021-05-28
stefan 8 years ago
parent
commit
e03e41bd0d
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp

+ 8
- 0
extras/Projucer/Source/LiveBuildEngine/projucer_CompileEngineClient.cpp View File

@@ -149,7 +149,15 @@ public:
{ {
#if RUN_CLANG_IN_CHILD_PROCESS #if RUN_CLANG_IN_CHILD_PROCESS
if (childProcess.isRunning()) if (childProcess.isRunning())
{
#if JUCE_DEBUG
killServerPolitely(); killServerPolitely();
#else
// in release builds we don't want to wait
// for the server to clean up and shut down
killServerWithoutMercy();
#endif
}
#endif #endif
} }


Loading…
Cancel
Save