Skip to content

Commit 4145055

Browse files
committed
Avoided a crash or deadlock opening plugin windows on Linux
1 parent ace57f5 commit 4145055

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Source/TestUtilities.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ static std::unique_ptr<AudioProcessorEditor> createAndShowEditorOnMessageThread
153153
editor->setVisible (true);
154154

155155
// Pump the message loop for a couple of seconds for the window to initialise itself
156+
// For some reason this blocks on Linux though so we'll avoid doing it
157+
#if ! JUCE_LINUX
156158
MessageManager::getInstance()->runDispatchLoopUntil (200);
159+
#endif
157160
}
158161
}
159162
else

modules/juce

Submodule juce updated from 759e269 to 4c2c087

0 commit comments

Comments
 (0)