Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race with struct access after calling
Stop()
We need to obtain a lock before accessing `s.active` because `Stop()` might write to it at the same time.
- Loading branch information