> Right, that was easily fixed. I see you're making everything observe > mididev->closing to avoid having to lock things, but you've accidentally > reversed the sense of this flag in the writing routines. > > Works fine with the appended patch. oh good catch! thanks.