Skip to content

Commit 0a9aca5

Browse files
authored
copy-paste error in mutex name lead to station crash (#153)
1 parent f102312 commit 0a9aca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/lib/registration_stats.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ func (s *RegistrationStats) Reset() {
9595
}()
9696

9797
func() {
98-
s.genMutex.Lock()
99-
defer s.genMutex.Unlock()
98+
s.lvMutex.Lock()
99+
defer s.lvMutex.Unlock()
100100
s.lvStats = map[uint32]*libverStats{}
101101
}()
102102

0 commit comments

Comments
 (0)