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:
parent
b1e91734db
commit
666d9d1ed4
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue