-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in ReloadConfig (#760)
Calling ReloadConfig was not thread safe in spite of mutex. One thread could overwrite the package level cfg pointer after it was mutated by another thread. Signed-off-by: Alexander J. Maidak <ajmaidak@gmail.com>
- Loading branch information
Showing
1 changed file
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters