Browse Source

Linux: Fixed a compile error when building VST3 plug-ins with JUCE_MODAL_LOOPS_PERMITTED=0

v6.1.6
ed 4 years ago
parent
commit
dbf5789cda
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      modules/juce_audio_plugin_client/utility/juce_LinuxMessageThread.h

+ 7
- 4
modules/juce_audio_plugin_client/utility/juce_LinuxMessageThread.h View File

@@ -30,6 +30,9 @@
namespace juce
{
// Implemented in juce_linux_Messaging.cpp
bool dispatchNextMessageOnSystemQueue (bool returnIfNoPendingMessages);
class MessageThread
{
public:
@@ -63,11 +66,11 @@ public:
for (;;)
{
if (shouldExit
|| ! MessageManager::getInstance()->runDispatchLoopUntil (250))
{
if (! dispatchNextMessageOnSystemQueue (true))
Thread::sleep (1);
if (shouldExit)
break;
}
}
} };


Loading…
Cancel
Save