Skip to content

Commit bd252af

Browse files
author
Michael Wilson
committed
Cover pending case in close()
1 parent c07b3a1 commit bd252af

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

index.html

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -873,12 +873,13 @@ <h2 id="MIDIPort">
873873
<p>
874874
If the port is an input port, skip to the next step. If the
875875
output port's <a data-lt="MIDIPort.state">.state</a> is not
876-
<a data-lt="MIDIPortDeviceState.connected">"connected"</a>,
877-
clear all pending send data and skip to the next step. Clear
878-
any pending send data in the system with timestamps in the
879-
future, then finish sending any send messages with no
880-
timestamp or with a timestamp in the past or present, prior
881-
to proceeding to the next step.
876+
<a data-lt="MIDIPortDeviceState.connected">"connected"</a>
877+
or if its .connection is "pending", clear all pending send
878+
data and skip to the next step. Clear any pending send data
879+
in the system with timestamps in the future, then finish
880+
sending any send messages with no timestamp or with a
881+
timestamp in the past or present, prior to proceeding to
882+
the next step.
882883
</p>
883884
</li>
884885
<li>
@@ -905,11 +906,6 @@ <h2 id="MIDIPort">
905906
value argument.
906907
</p>
907908
</li>
908-
<li>
909-
<p>
910-
Terminate these steps.
911-
</p>
912-
</li>
913909
</ol>
914910
</dd>
915911
</dl>

0 commit comments

Comments
 (0)