From 005040da771c9300e2c6a0ad2d8aab40e631a6f6 Mon Sep 17 00:00:00 2001 From: Anthony Nicholls Date: Mon, 27 Nov 2023 15:02:14 +0000 Subject: [PATCH] TimerThread: Always wait indefinitely for the timer thread to finish --- modules/juce_events/timers/juce_Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_events/timers/juce_Timer.cpp b/modules/juce_events/timers/juce_Timer.cpp index 7475fb0857..5a135e479d 100644 --- a/modules/juce_events/timers/juce_Timer.cpp +++ b/modules/juce_events/timers/juce_Timer.cpp @@ -40,7 +40,7 @@ public: cancelPendingUpdate(); signalThreadShouldExit(); callbackArrived.signal(); - stopThread (4000); + stopThread (-1); } void run() override