File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
packages/runtime-vapor/src Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -91,24 +91,6 @@ const vaporInteropImpl: Omit<
91
91
if ( instance . block ) {
92
92
unmountComponent ( instance , container )
93
93
}
94
- // A component with async dep inside a pending suspense is unmounted before
95
- // its async dep resolves. This should remove the dep from the suspense, and
96
- // cause the suspense to resolve immediately if that was the last dep.
97
- const parentSuspense = instance . suspense
98
- if (
99
- __FEATURE_SUSPENSE__ &&
100
- parentSuspense &&
101
- parentSuspense . pendingBranch &&
102
- ! parentSuspense . isUnmounted &&
103
- instance . asyncDep &&
104
- ! instance . asyncResolved &&
105
- instance . suspenseId === parentSuspense . pendingId
106
- ) {
107
- parentSuspense . deps --
108
- if ( parentSuspense . deps === 0 ) {
109
- parentSuspense . resolve ( )
110
- }
111
- }
112
94
} else if ( vnode . vb ) {
113
95
remove ( vnode . vb , container )
114
96
}
You can’t perform that action at this time.
0 commit comments