Commit 258bc9fb authored by Tim Neutkens's avatar Tim Neutkens

Update app-render.tsx

parent f324ca17
...@@ -3185,8 +3185,7 @@ async function renderWithRestartOnCacheMissInDev( ...@@ -3185,8 +3185,7 @@ async function renderWithRestartOnCacheMissInDev(
signal: initialReactController.signal, signal: initialReactController.signal,
}, },
(fn) => workUnitAsyncStorage.run(requestStore, fn) (fn) => workUnitAsyncStorage.run(requestStore, fn)
) ).tee()
.tee()
// If we abort the render, we want to reject the stage-dependent promises as well. // If we abort the render, we want to reject the stage-dependent promises as well.
// Note that we want to install this listener after the render is started // Note that we want to install this listener after the render is started
...@@ -3332,8 +3331,7 @@ async function renderWithRestartOnCacheMissInDev( ...@@ -3332,8 +3331,7 @@ async function renderWithRestartOnCacheMissInDev(
debugChannel: debugChannel?.serverSide, debugChannel: debugChannel?.serverSide,
}, },
(fn) => workUnitAsyncStorage.run(requestStore, fn) (fn) => workUnitAsyncStorage.run(requestStore, fn)
) ).tee()
.tee()
return { return {
stream: streamPair[0], stream: streamPair[0],
...@@ -4990,10 +4988,7 @@ async function prerenderToStream( ...@@ -4990,10 +4988,7 @@ async function prerenderToStream(
} }
const reactServerResult = (reactServerPrerenderResult = const reactServerResult = (reactServerPrerenderResult =
await createReactServerPrerenderResult( await createReactServerPrerenderResult(
runInSequentialTasks( runInSequentialTasks(finalRSCPrerenderFn, finalRSCAbortCallback)
finalRSCPrerenderFn,
finalRSCAbortCallback
)
)) ))
const clientDynamicTracking = createDynamicTrackingState( const clientDynamicTracking = createDynamicTrackingState(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment