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

Ignore event subsription updates while platform view is creating #724

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

evil159
Copy link
Contributor

@evil159 evil159 commented Oct 9, 2024

What does this pull request do?

Platform view creation is asynchronous and in case widget state updates before the view is created we can get an exception trying to send a message to subscribe for events.

The fix is to ignore event subsription updates while platform view is creating.

Addresses #657.

What is the motivation and context behind this change?

Pull request checklist:

  • Add a changelog entry.
  • Write tests for all new functionality. If tests were not written, please explain why.
  • Add documentation comments for any added or updated public APIs.

@evil159 evil159 force-pushed the rl/subscribe_map_events_crash_fix branch from db3430e to 0201ade Compare October 17, 2024 06:30
@evil159 evil159 marked this pull request as ready for review October 17, 2024 06:30
@evil159 evil159 requested review from a team as code owners October 17, 2024 06:30
@evil159 evil159 requested a review from maios October 17, 2024 06:30
pjleonard37
pjleonard37 previously approved these changes Oct 17, 2024
Copy link
Contributor

@pjleonard37 pjleonard37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@evil159 evil159 force-pushed the rl/subscribe_map_events_crash_fix branch from 320f4a7 to 4d1dfb2 Compare October 17, 2024 12:44
@evil159 evil159 requested a review from a team as a code owner October 17, 2024 12:44
@evil159 evil159 enabled auto-merge (squash) October 17, 2024 12:44
Copy link
Contributor

@pjleonard37 pjleonard37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌵

@evil159 evil159 merged commit 18f4818 into main Oct 18, 2024
6 checks passed
@evil159 evil159 deleted the rl/subscribe_map_events_crash_fix branch October 18, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants