diff --git a/extras/audio plugins/wrapper/formats/RTAS/juce_RTASWrapper.cpp b/extras/audio plugins/wrapper/formats/RTAS/juce_RTASWrapper.cpp index 3a040f58a0..4c3a98d860 100644 --- a/extras/audio plugins/wrapper/formats/RTAS/juce_RTASWrapper.cpp +++ b/extras/audio plugins/wrapper/formats/RTAS/juce_RTASWrapper.cpp @@ -364,7 +364,8 @@ public: void paint (Graphics& g) { #if JUCE_MAC - forcedRepaintTimer->stopTimer(); + if (forcedRepaintTimer != 0) + forcedRepaintTimer->stopTimer(); #endif }