Skip to content

Commit

Permalink
fix: Nullify a registration when listener removed (#16855) (#16856)
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
  • Loading branch information
vaadin-bot and mshabarov committed May 23, 2023
1 parent 38cb83b commit 1391b64
Showing 1 changed file with 1 addition and 0 deletions.
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 1391b64

Please sign in to comment.