File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ const READ_READABLE_STATUS = OPEN_STATUS | READ_EMIT_READABLE | READ_QUEUED | RE
98
98
const SHOULD_NOT_READ = OPEN_STATUS | READ_ACTIVE | READ_ENDING | READ_DONE | READ_NEEDS_PUSH | READ_READ_AHEAD
99
99
const READ_BACKPRESSURE_STATUS = DESTROY_STATUS | READ_ENDING | READ_DONE
100
100
const READ_UPDATE_SYNC_STATUS = READ_UPDATING | OPEN_STATUS | READ_NEXT_TICK | READ_PRIMARY
101
- const READ_NEXT_TICK_OPENING = READ_NEXT_TICK | OPENING
101
+ const READ_NEXT_TICK_OR_OPENING = READ_NEXT_TICK | OPENING
102
102
103
103
// Combined write state
104
104
const WRITE_PRIMARY_STATUS = OPEN_STATUS | WRITE_FINISHING | WRITE_DONE
@@ -419,7 +419,7 @@ class ReadableState {
419
419
}
420
420
421
421
updateNextTickIfOpen ( ) {
422
- if ( ( this . stream . _duplexState & READ_NEXT_TICK_OPENING ) !== 0 ) return
422
+ if ( ( this . stream . _duplexState & READ_NEXT_TICK_OR_OPENING ) !== 0 ) return
423
423
this . stream . _duplexState |= READ_NEXT_TICK
424
424
if ( ( this . stream . _duplexState & READ_UPDATING ) === 0 ) queueTick ( this . afterUpdateNextTick )
425
425
}
You can’t perform that action at this time.
0 commit comments