ReactiveLocation
ReactiveLocation copied to clipboard
Possible race condition in `observerCount`
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.
https://github.com/AckeeCZ/ReactiveLocation/blob/27939a414c9ac2cdbdf35debd4bfd2c7d4e51196/ReactiveLocation/ReactiveLocation.swift#L34
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.