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 {
116116 const successfulExecutionGroups = Array . from (
117117 deferredFragmentRecord . successfulExecutionGroups ,
118118 ) ;
119- this . _removeRootNode ( deferredFragmentRecord ) ;
119+ this . _rootNodes . delete ( deferredFragmentRecord ) ;
120120 for ( const successfulExecutionGroup of successfulExecutionGroups ) {
121121 for ( const otherDeferredFragmentRecord of successfulExecutionGroup
122122 . pendingExecutionGroup . deferredFragmentRecords ) {
@@ -137,16 +137,12 @@ export class IncrementalGraph {
137137 if ( ! this . _rootNodes . has ( deferredFragmentRecord ) ) {
138138 return false ;
139139 }
140- this . _removeRootNode ( deferredFragmentRecord ) ;
140+ this . _rootNodes . delete ( deferredFragmentRecord ) ;
141141 return true ;
142142 }
143143
144144 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 ) ;
150146 }
151147
152148 private _addIncrementalDataRecords (
You can’t perform that action at this time.
0 commit comments