Skip to content

HandlerStackContext.removeAllPreceeding removes wrong when combined with other manipulations #1

Description

@mhdirkse

HandlerStackContext.removeAllPreceeding only takes into account the sequence number of the handler being visited. For example, if this is the third handler (sequence number 2), then two handlers are removed. However, if before the call to removeAllPreceeding there were other calculations, then the number to remove is different. For example, if removeFirst() was called before, then only one handler remains to be removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions