Deleting midi devices on osx

ive just ported my system from juce 1.46 to 1.50 (git tip) and im noticing that once i delete a midi output device i cant open any other output device (open device always returns null). this isnt the behavior in 1.46 at all so my question is: what do I do with previously opened devices once a user has switched to another one? i dont see a “close” function for example, and delteing (as in 1.46) appears to not be the way to do this.
thanks for any info, rick

Ah - thanks for this, I just had a quick look, and some recent changes had introduced a tiny bugette… I’ve checked in a fix for this now so have a go and see if it helps!

jules yes that fixed it, thanks so much!