From 69ddb29d739183f73dadf2d257953891092fd68d Mon Sep 17 00:00:00 2001 From: Anthony Nicholls Date: Thu, 23 May 2024 10:30:12 +0100 Subject: [PATCH] Timer: Prevent assertion from the Shutdown detector --- modules/juce_events/timers/juce_Timer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/juce_events/timers/juce_Timer.cpp b/modules/juce_events/timers/juce_Timer.cpp index 88c3540d35..482256707a 100644 --- a/modules/juce_events/timers/juce_Timer.cpp +++ b/modules/juce_events/timers/juce_Timer.cpp @@ -31,6 +31,7 @@ public: ~ShutdownDetector() override { getListeners().call (&Listener::applicationShuttingDown); + clearSingletonInstance(); } struct Listener