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

VPN-5766 - Fix CountdownTimer generation timing #8555

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Conversation

brizental
Copy link
Contributor

@brizental brizental commented Nov 14, 2023

When the generation of this object was changed to be lazy, it would be created inside the VPNService.turnOn method. That method is called in a thread that is not equipped to create timers causing a crash and thus the issue described on VPN-5766.

Copy link
Collaborator

@strseb strseb left a comment

Choose a reason for hiding this comment

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

add tests

@brizental brizental changed the title VPN-5766 - Fix CountdownTimeGeneration VPN-5766 - Fix CountdownTimer generation timing Nov 14, 2023
@brizental brizental enabled auto-merge (squash) November 14, 2023 14:03
@github-actions github-actions bot added the 🛬 Landing This PR is marked as "auto-merge" label Nov 14, 2023
@brizental brizental enabled auto-merge (squash) November 14, 2023 15:13
@brizental brizental merged commit cc36490 into main Nov 14, 2023
117 of 121 checks passed
@brizental brizental deleted the 5766-android-fix branch November 14, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛬 Landing This PR is marked as "auto-merge"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants