mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
VST2 Host: Avoid bad window errors when editor peer is deleted
This commit is contained in:
parent
fe744f8112
commit
092314deac
1 changed files with 6 additions and 2 deletions
|
|
@ -2926,8 +2926,12 @@ public:
|
|||
void componentPeerChanged() override
|
||||
{
|
||||
closePluginWindow();
|
||||
openPluginWindow();
|
||||
componentMovedOrResized (true, true);
|
||||
|
||||
if (getPeer() != nullptr)
|
||||
{
|
||||
openPluginWindow();
|
||||
componentMovedOrResized (true, true);
|
||||
}
|
||||
}
|
||||
|
||||
void setContentScaleFactor()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue