1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

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

This commit is contained in:
stefan 2016-10-12 11:21:53 +02:00
parent bacf194dda
commit e03e41bd0d

View file

@ -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
}