Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write to client store while holding lock
Protect against a race where destroying and persist state goroutines race. The downside is that the database io operation will run while holding the lock and may run indefinitely. The risk of lock being long held is slow destruction, but slow io has bigger problems.
- Loading branch information