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


#1

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…


#2

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.


#3

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


#4

looks good, thanks…