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