Skip to content

Commit 2cf7190

Browse files
Merge pull request #274 from mjwilson-google/pending-close
Cover pending case in close()
2 parents 1183f73 + bd252af commit 2cf7190

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

index.html

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

0 commit comments

Comments
 (0)