Hello Mark!
Im working with midi in and midi out.
I see if for error, you use same port like in and out, error MIDout.Finalize() or MIDIin.Finalize() happen.
I asume this is caused by midi loop or something like that or some loop?
Some times is midiin ereor other times midiout, always if select the same port as midi in and midi out.
The problem is Naudio show exeption window, and no matter how many time i click on abort or ignore, all is freezed and i have to kill the aplication using task manager, but some tiems cant kill and need a hard reboot, other times need wait lot of time.
How can prevent this happen?
I can add logic on the software for prevent select the same port, but i use my software for send midi to other appz, and if that appz, have midi in and midi out in same port (i use midi yoke virtual midi wire) the same happen.
Also due is handled by naudio i can see in what portion of code this happen for try add and cathc this exeption at my way.
How can make my software catch that exeption, instead leave naudio doit?
This some kind of loop, and if this happen i need stop this happen and show some message then close the software probably, but prevent the complete freeze.
This is a problem cna be fixed from your side?
I itest with midi monitor software and not see midi signal loop feedback, so is something wrong inside the library probably.
Hoppe can helpme, is really ugly error and big problem.
Best regards!