Skip to content

Commit

Permalink
fix: Nullify a registration when listener removed (#16855)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabarov authored and vaadin-bot committed May 23, 2023
1 parent 38cb83b commit e22807c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ private void removePendingInvocation(
pendingInvocation -> pendingInvocation.equals(invocation));
if (invocationList.isEmpty() && registration != null) {
registration.remove();
registration = null;
}
}

Expand Down

0 comments on commit e22807c

Please sign in to comment.