Browse Source

Fully delete embed lv2 ui window on hide

Fixes #1339

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
470ea7854f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      source/backend/plugin/CarlaPluginLV2.cpp

+ 6
- 0
source/backend/plugin/CarlaPluginLV2.cpp View File

@@ -2019,6 +2019,12 @@ public:
fUI.descriptor->cleanup(fUI.handle);
fUI.handle = nullptr;
fUI.widget = nullptr;

if (fUI.type == UI::TYPE_EMBED && fUI.window != nullptr)
{
delete fUI.window;
fUI.window = nullptr;
}
}
}



Loading…
Cancel
Save