Skip to content

Commit

Permalink
Fix null reference error
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
  • Loading branch information
bentsherman committed Oct 7, 2024
1 parent 4702ca3 commit 9a095a3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ class CleanupObserver implements TraceObserver {
// skip if node is terminal
if( !w )
continue
// add operator nodes to the queue to keep searching
if( w.process == null )
queue.addAll( successors[w] )
// add process nodes to the list of consumers
else
if( w.process != null )
consumers[i] << w.process.name
// add operator nodes to the queue to keep searching
else if( w in successors )
queue.addAll( successors[w] )
}

// check if output may forward input files
Expand Down

0 comments on commit 9a095a3

Please # to comment.