Skip to content
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

Event.get(): always return null if no listeners exist #2667

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

MoritzBrueckner
Copy link
Collaborator

Following the discussion in #2649. Previously, Event.get() either returned null or [] if no listeners existed depending on how the API was used prior to that, now only null is returned in that case. This is a theoretically a breaking change, but I doubt that it will cause much trouble and all the occurences of Event.get() in the SDK sources still seem correct :)

@luboslenco luboslenco merged commit 60167a8 into armory3d:main Nov 23, 2022
@MoritzBrueckner MoritzBrueckner deleted the event-api branch November 23, 2022 14:53
@MoritzBrueckner MoritzBrueckner added the Release Notes: Changes A pull request that is a feature change, not a fix. Used to generate release notes. label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Notes: Changes A pull request that is a feature change, not a fix. Used to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants