Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch the route count once, while holding the lock.
Not really a problem in practice as it'd be hard to get a second reload running in between the `rt.lock.Unlock()` and the `rt.mux.RouteCount()`, but this should be slightly more robust to future changes.
- Loading branch information