Browse Source

Fixed bundle ref initialisation of statically linked VSTs on iOS

tags/2021-05-28
tpoole 9 years ago
parent
commit
0ed9003a8d
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp

+ 4
- 1
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp View File

@@ -370,8 +370,11 @@ public:
//==============================================================================
ModuleHandle (const File& f, MainCall customMainCall)
: file (f), moduleMain (customMainCall), customMain (nullptr)
#if JUCE_MAC || JUCE_IOS
, resHandle (0), bundleRef (0)
#if JUCE_MAC
, resHandle (0), bundleRef (0), resFileId (0)
, resFileId (0)
#endif
#endif
{
getActiveModules().add (this);


Loading…
Cancel
Save