# Deleting midi devices on osx

**URL:** <https://forum.juce.com/t/deleting-midi-devices-on-osx/4596>\
**Category:** MacOSX and iOS\
**Created:** [December 2, 2009, 7:39pm UTC](https://forum.juce.com/t/deleting-midi-devices-on-osx/4596 "2009-12-02T19:39:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hkt](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hkt](https://forum.juce.com/u/hkt)\
**Post date:** [December 2, 2009, 7:39pm UTC](https://forum.juce.com/t/deleting-midi-devices-on-osx/4596/1 "2009-12-02T19:39:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 3, 2009, 11:23am UTC](https://forum.juce.com/t/deleting-midi-devices-on-osx/4596/2 "2009-12-03T11:23:49Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![hkt](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hkt](https://forum.juce.com/u/hkt)\
**Post date:** [December 3, 2009, 11:18pm UTC](https://forum.juce.com/t/deleting-midi-devices-on-osx/4596/3 "2009-12-03T23:18:43Z")

</div>

jules yes that fixed it, thanks so much!  
–rick

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 9:50am UTC](https://forum.juce.com/t/deleting-midi-devices-on-osx/4596/4 "2017-05-12T09:50:00Z")

</div>

Closed on May 12, 2017, 9:50am UTC


