Skip to content

Conversation

mookums
Copy link
Contributor

@mookums mookums commented Jul 23, 2025

This supersedes #912. It fixes the same behavior but in a more proper way, by allowing and handling null event listeners that are expected to clear the callback.

@karlseguin
Copy link
Collaborator

Could have saved yourself some typing and passed the optional to the fn register and done the check there in 1 place.

LGTM.

@mookums mookums merged commit 6fcfcb6 into main Aug 4, 2025
10 checks passed
@mookums mookums deleted the allow-nullable-listener branch August 4, 2025 13:15
@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants