Fix double unlock (slack) (#771)
This commit is contained in:
parent
fa4eec41f7
commit
97f9d4be67
|
@ -87,7 +87,6 @@ func (b *users) populateUser(userID string) {
|
||||||
// in case the previous query failed for some reason.
|
// in case the previous query failed for some reason.
|
||||||
} else {
|
} else {
|
||||||
b.usersSyncPoints[userID] = make(chan struct{})
|
b.usersSyncPoints[userID] = make(chan struct{})
|
||||||
b.usersMutex.Unlock()
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue