MIDINetworkConnection BAD_ACCESS on dealloc (iOS 9)
问题 I've got a strange Network MIDI issue that's arisen in iOS 9 which effectively works like the following: I do a NSNetServiceBrowser scan for wifi midi devices. It finds my macbook and I create a MIDINetworkConnection with the host from the NSNetService and store this in an ivar I do another scan some time later which nils the ivar. This causes a BAD_ACCESS in the internal dealloc of MIDINetworkConnection Stack trace: #0 0x000000019902dbd0 in objc_msgSend () #1 0x0000000184c41698 in