Skip to content

Handle Null Event Listener #916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2025
Merged

Handle Null Event Listener #916

merged 1 commit into from
Aug 4, 2025

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