File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
packages/react-server/src Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -1748,13 +1748,7 @@ function flushPartiallyCompletedSegment(
1748
1748
}
1749
1749
}
1750
1750
1751
- let reentrant = false ;
1752
1751
function flushCompletedQueues ( request : Request ) : void {
1753
- if ( reentrant ) {
1754
- return ;
1755
- }
1756
- reentrant = true ;
1757
-
1758
1752
const destination = request . destination ;
1759
1753
beginWriting ( destination ) ;
1760
1754
try {
@@ -1840,7 +1834,6 @@ function flushCompletedQueues(request: Request): void {
1840
1834
}
1841
1835
largeBoundaries . splice ( 0 , i ) ;
1842
1836
} finally {
1843
- reentrant = false ;
1844
1837
completeWriting ( destination ) ;
1845
1838
flushBuffered ( destination ) ;
1846
1839
if (
Original file line number Diff line number Diff line change @@ -706,12 +706,7 @@ function performWork(request: Request): void {
706
706
}
707
707
}
708
708
709
- let reentrant = false ;
710
709
function flushCompletedChunks ( request : Request ) : void {
711
- if ( reentrant ) {
712
- return ;
713
- }
714
- reentrant = true;
715
710
const destination = request . destination ;
716
711
beginWriting ( destination ) ;
717
712
try {
@@ -758,7 +753,6 @@ function flushCompletedChunks(request: Request): void {
758
753
}
759
754
errorChunks . splice ( 0 , i ) ;
760
755
} finally {
761
- reentrant = false ;
762
756
completeWriting ( destination ) ;
763
757
}
764
758
flushBuffered ( destination ) ;
You can’t perform that action at this time.
0 commit comments