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

[ZEUS-4778] Prevent crash caused by double unbinding of background service #23

Conversation

artem-y-pamediagroup
Copy link
Contributor

Jira

Changes

  • added a simple flag to track if the service was already unbound and in that case prevent from doing it twice
  • split the backgroundService(start:) method into two different methods with more meaningful names so it's easier to reason about what's going on

Concerns

This is quick fix to patch the crash, which might be a symptom of a larger issue we have related to management of player and other related objects.

@artem-y-pamediagroup artem-y-pamediagroup merged commit e72981b into release/1.0.3 Aug 15, 2024
1 check passed
@artem-y-pamediagroup artem-y-pamediagroup deleted the bugfix/ZEUS-4778-prevent-crash-when-closing-player branch August 15, 2024 08:10
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.

4 participants