Skip to content

Commit

Permalink
[KIE-DROOLS-6190] avoid reattaching a peer of a removed node during i…
Browse files Browse the repository at this point in the history
…ncremental compilation (#6210)
  • Loading branch information
mariofusco authored Jan 3, 2025
1 parent decb201 commit dee09fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@ static void deleteLeftTuple(TupleImpl removingLt, TupleImpl removingLt2, TupleIm
} else {
// is the LT for the LIAN, if so we need to process the FH too
fh.removeLeftTuple(removingLt);
if (leftPrevious == null) {
if (leftPrevious == null && nextPeerLt.getSink().getAssociatedTerminalsSize() > 0) {
// The removed tuple was first in linked list, add the peer at its original position
fh.addFirstLeftTuple( nextPeerLt );
}
Expand Down

0 comments on commit dee09fd

Please sign in to comment.