mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
lib/rc: Remove dead lock (fixes #5403)
This commit is contained in:
parent
4783294a09
commit
41469c5393
@ -408,7 +408,6 @@ func (p *Process) checkForProblems(logfd *os.File) error {
|
||||
raceConditionStart := []byte("WARNING: DATA RACE")
|
||||
raceConditionSep := []byte("==================")
|
||||
panicConditionStart := []byte("panic:")
|
||||
p.eventMut.Lock()
|
||||
panicConditionSep := []byte("[") // fallback if we don't already know our ID
|
||||
if p.id.String() != "" {
|
||||
panicConditionSep = []byte(p.id.String()[:5])
|
||||
|
Loading…
Reference in New Issue
Block a user