File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1031,9 +1031,6 @@ class QUICConnection {
10311031 }
10321032 try {
10331033 this . conn . streamSend ( streamId , Buffer . alloc ( 0 ) , false ) ;
1034- utils . never (
1035- 'We never expect the stream to be writable if it was created during the writable iterator' ,
1036- ) ;
10371034 } catch ( e ) {
10381035 // If we got `FinalSize` during the writable iterator then we cleaned up an errant stream
10391036 if ( e . message === 'FinalSize' ) continue ;
@@ -1070,6 +1067,9 @@ class QUICConnection {
10701067 }
10711068 utils . never ( `Expected to throw "FinalSize", got ${ e . message } ` ) ;
10721069 }
1070+ utils . never (
1071+ 'We never expect the stream to be writable if it was created during the writable iterator' ,
1072+ ) ;
10731073 }
10741074 quicStream . write ( ) ;
10751075 }
You can’t perform that action at this time.
0 commit comments