lib/protocol, rc, utils: Add mutex Unlock before panic (#6556)
This commit is contained in:
@@ -547,6 +547,7 @@ func (p *Process) eventLoop() {
|
||||
}
|
||||
device := p.id.String()
|
||||
if device == "" {
|
||||
p.eventMut.Unlock()
|
||||
panic("race, or startup not complete")
|
||||
}
|
||||
m[device] = version
|
||||
|
||||
Reference in New Issue
Block a user