Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race b/w resetting _bgMonitor to nil and using it
* There is a race condition between resetting _bgMonitor to nil in -endBackground on the replicator thread and accessing _bgMonitor in -okToEndBackgrounding on the main thread. * The easiest way to fix this is to not resetting nil after stopping the bgMonitor given the fact that it could also be recreated again from the replicator thread in the -setupBackgrounding method. #1677 #CBSE-4145
- Loading branch information