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

Fixed a crash when animators delete top-level components during a screen rotate animation

This commit is contained in:
hogliux 2017-08-31 10:57:44 +01:00
parent c8c692e2b7
commit a7b9da40a2

View file

@ -312,8 +312,9 @@ private:
static void sendScreenBoundsUpdate (JuceUIViewController* c)
{
JuceUIView* juceView = (JuceUIView*) [c view];
jassert (juceView != nil && juceView->owner != nullptr);
juceView->owner->updateTransformAndScreenBounds();
if (juceView != nil && juceView->owner != nullptr)
juceView->owner->updateTransformAndScreenBounds();
}
static bool isKioskModeView (JuceUIViewController* c)