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

Add a nullptr check in Slider PopupDisplayComponent destructor

This commit is contained in:
ed 2018-07-31 09:23:02 +01:00
parent b1e91734db
commit 666d9d1ed4

View file

@ -1298,7 +1298,8 @@ public:
~PopupDisplayComponent()
{
owner.pimpl->lastPopupDismissal = Time::getMillisecondCounterHiRes();
if (owner.pimpl != nullptr)
owner.pimpl->lastPopupDismissal = Time::getMillisecondCounterHiRes();
}
void paintContent (Graphics& g, int w, int h) override