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