[fixed] Crash when calling MidiInput::getDevices()


Hi, just done a pull of the latest develop code and getting crashes when calling MidiInput::getDevices() in the AudioProcessor() constructor. This used to be fine before this pull.

Reproducable by adding a call to MidiInput::getDevices() to the JuceDemoPluginAudioProcessor constructor. Tested on Windows, not on OSX yet…


Only seems to be an issue when running through the pluginhost - running inside Live is fine. Doesn’t appear to be an issue on OSX.


I’ve pushed a fix for this to the develop branch.


looks good, thanks…