Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Possible race condition in observerCount #25

Open
olejnjak opened this issue Apr 30, 2019 · 1 comment
Open

Possible race condition in observerCount #25

olejnjak opened this issue Apr 30, 2019 · 1 comment
Labels

Comments

@olejnjak
Copy link
Member

ReactiveLocation contains a possible race condition, locking in observerCount.didSet is not sufficient. Inside synchronised block other thread can mutate the observerCount property and the behaviour might become undefined. Each access to observerCount property should be synchronised.

@olejnjak olejnjak added the bug label Apr 30, 2019
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jun 20, 2020
@olejnjak olejnjak removed the stale label Jun 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant