Re: [web-midi-api] MIDI input/output disconnection - is it permanent? (#79)

My idea has been that the instance would work like nothing happened (unless you choose to discard the whole thing) on disconnect -> reconnect. To me it seems that if two ports' that are of the same type and share the ID, they should behave exactly the same. I can't see that if they're from the same MIDIAccess they would even be a different instance. However, for isolation, it's probably better that different MIDIAccess instances don't share the same port instances, so that you can safely assume that if you get a port from a fresh MIDIAccess, no one has set any `on<eventname>` handlers on it.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-midi-api/issues/79#issuecomment-23921023

Received on Friday, 6 September 2013 06:19:25 UTC