Skip to content

Cover pending case in close() #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -873,12 +873,13 @@ <h2 id="MIDIPort">
<p>
If the port is an input port, skip to the next step. If the
output port's <a data-lt="MIDIPort.state">.state</a> is not
<a data-lt="MIDIPortDeviceState.connected">"connected"</a>,
clear all pending send data and skip to the next step. Clear
any pending send data in the system with timestamps in the
future, then finish sending any send messages with no
timestamp or with a timestamp in the past or present, prior
to proceeding to the next step.
<a data-lt="MIDIPortDeviceState.connected">"connected"</a>
or if its .connection is "pending", clear all pending send
data and skip to the next step. Clear any pending send data
in the system with timestamps in the future, then finish
sending any send messages with no timestamp or with a
timestamp in the past or present, prior to proceeding to
the next step.
</p>
</li>
<li>
Expand All @@ -905,11 +906,6 @@ <h2 id="MIDIPort">
value argument.
</p>
</li>
<li>
<p>
Terminate these steps.
</p>
</li>
</ol>
</dd>
</dl>
Expand Down