mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3: Workaround incorrect VST3 editor ref-count bug in Adobe Audition
Audition incorrectly increments the ref-count of the IPlugView* returned from IEditController::createView() and never fully releases it. This commit reverts e0306d25 for Audition to ensure that an editor is always returned, otherwise Audition displays a blank GUI.
This commit is contained in:
parent
3c48207d15
commit
a1337a3863
1 changed files with 1 additions and 1 deletions
|
|
@ -1154,7 +1154,7 @@ public:
|
|||
const auto mayCreateEditor = pluginInstance->hasEditor()
|
||||
&& name != nullptr
|
||||
&& std::strcmp (name, Vst::ViewType::kEditor) == 0
|
||||
&& pluginInstance->getActiveEditor() == nullptr;
|
||||
&& (pluginInstance->getActiveEditor() == nullptr || getHostType().isAdobeAudition());
|
||||
|
||||
if (mayCreateEditor)
|
||||
return new JuceVST3Editor (*this, *pluginInstance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue