1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Timer: Warn if the TimerThread outlives the ScopedJuceIniitaliser_GUI

This commit is contained in:
reuk 2024-10-21 14:06:54 +01:00
parent ee641f7baf
commit c6110c09b5

View file

@ -95,6 +95,9 @@ public:
~TimerThread() override
{
// If this is hit, a timer has outlived the platform event system.
jassert (MessageManager::getInstanceWithoutCreating() != nullptr);
stopThreadAsync();
ShutdownDetector::removeListener (this);
stopThread (-1);