File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export class IncrementalGraph {
116
116
const successfulExecutionGroups = Array . from (
117
117
deferredFragmentRecord . successfulExecutionGroups ,
118
118
) ;
119
- this . _removeRootNode ( deferredFragmentRecord ) ;
119
+ this . _rootNodes . delete ( deferredFragmentRecord ) ;
120
120
for ( const successfulExecutionGroup of successfulExecutionGroups ) {
121
121
for ( const otherDeferredFragmentRecord of successfulExecutionGroup
122
122
. pendingExecutionGroup . deferredFragmentRecords ) {
@@ -137,16 +137,12 @@ export class IncrementalGraph {
137
137
if ( ! this . _rootNodes . has ( deferredFragmentRecord ) ) {
138
138
return false ;
139
139
}
140
- this . _removeRootNode ( deferredFragmentRecord ) ;
140
+ this . _rootNodes . delete ( deferredFragmentRecord ) ;
141
141
return true ;
142
142
}
143
143
144
144
removeStream ( streamRecord : StreamRecord ) : void {
145
- this . _removeRootNode ( streamRecord ) ;
146
- }
147
-
148
- private _removeRootNode ( deliveryGroup : DeliveryGroup ) : void {
149
- this . _rootNodes . delete ( deliveryGroup ) ;
145
+ this . _rootNodes . delete ( streamRecord ) ;
150
146
}
151
147
152
148
private _addIncrementalDataRecords (
You can’t perform that action at this time.
0 commit comments