Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #37211

Howto rlelease the onmidimessage listener?

Newsgroups comp.lang.javascript
Date 2019-09-10 23:39 -0700
Message-ID <2ee6f8a1-220e-4618-899d-e82a30e2e3b4@googlegroups.com> (permalink)
Subject Howto rlelease the onmidimessage listener?
From Jonas Thörnvall <jonas.thornvall@gmail.com>

Show all headers | View raw


This is the most common way people show howto implement inport listeners, they just scroll thru all.

 for (input = inputs.next(); input && !input.done; input = inputs.next()) {
        input.value.onmidimessage = onMIDIMessage;
  }

I have searched for howto release the listener but can not find information about it. Do anyone here know?

So instead i had the idea to reinitiate the whole requestMIDIAccess, that i thought would release the whole midiObject unfortunately is just created a new instance running on top.

So can anyone show me to information "preferably web example" on howto either.

release onMIDIMessage listener

OR

release requestMIDIAccess object/promise "whatever it is"

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Howto rlelease the onmidimessage listener? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-10 23:39 -0700
  Re: Howto rlelease the onmidimessage listener? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-10 23:51 -0700
    Re: Howto rlelease the onmidimessage listener? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 02:04 -0700
  Re: Howto rlelease the onmidimessage listener? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 02:34 -0700
  Re: Howto rlelease the onmidimessage listener? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 02:38 -0700
  Re: Howto rlelease the onmidimessage listener? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 13:16 -0700
    Re: Howto rlelease the onmidimessage listener? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-12 00:10 -0700

csiph-web