Browse Source

Always quit nicely no matter the plugin format

pull/327/head
falkTX 3 years ago
parent
commit
86a621bfd8
2 changed files with 1 additions and 5 deletions
  1. +0
    -5
      distrho/src/DistrhoPluginVST2.cpp
  2. +1
    -0
      distrho/src/DistrhoUIInternal.hpp

+ 0
- 5
distrho/src/DistrhoPluginVST2.cpp View File

@@ -202,11 +202,6 @@ public:
# endif # endif
} }


~UIVst()
{
fUI.quit();
}

// ------------------------------------------------------------------- // -------------------------------------------------------------------


void idle() void idle()


+ 1
- 0
distrho/src/DistrhoUIInternal.hpp View File

@@ -107,6 +107,7 @@ public:


~UIExporter() ~UIExporter()
{ {
quit();
delete ui; delete ui;
delete uiData; delete uiData;
} }


Loading…
Cancel
Save