mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Linux: Fixed a compile error when building VST3 plug-ins with JUCE_MODAL_LOOPS_PERMITTED=0
This commit is contained in:
parent
11d872ea1b
commit
dbf5789cda
1 changed files with 7 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue