From 98acf798592c0202e5320f10d106e88d1ac6e191 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 fd863c5f88..55aa2b068d 100644 --- a/modules/juce_events/timers/juce_Timer.cpp +++ b/modules/juce_events/timers/juce_Timer.cpp @@ -43,6 +43,7 @@ public: ~ShutdownDetector() override { getListeners().call (&Listener::applicationShuttingDown); + clearSingletonInstance(); } struct Listener