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

Thanks for posting, Chris!

>I think that when a port disconnects, it should release the event handler and the object, and they should not become live again, even when reconnected.

Why? Wouldn't it be more convenient to mantain the event handler? The worst it can happen, when an interface disconnects, is not getting MIDI events anymore. A web application could, for example, listen for midi message on every input and be oblivious that some of them are actually disconnected or reconnected (obviously, if it wants to know, it could still listen the disconnect / connect events).

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

Received on Thursday, 5 September 2013 15:56:47 UTC