1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-15 00:24:19 +00:00

Made the Desktop class clear any pending animations before shutting down.

This commit is contained in:
luigisambuy 2016-08-16 14:55:43 +01:00
parent 6547452fd3
commit e2dc460927

View file

@ -36,7 +36,8 @@ Desktop::Desktop()
Desktop::~Desktop()
{
setScreenSaverEnabled (true);
animator.cancelAllAnimations (false);
jassert (instance == this);
instance = nullptr;