This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
Possible race condition in observerCount
#25
Labels
observerCount
#25
ReactiveLocation contains a possible race condition, locking in
observerCount.didSet
is not sufficient. Inside synchronised block other thread can mutate theobserverCount
property and the behaviour might become undefined. Each access toobserverCount
property should be synchronised.ReactiveLocation/ReactiveLocation/ReactiveLocation.swift
Line 34 in 27939a4
The text was updated successfully, but these errors were encountered: