Fix missing mutex unlock
This commit is contained in:
parent
39ba75b420
commit
d62bb97ee1
|
@ -304,6 +304,7 @@ func (m *Message) Render() error {
|
||||||
func (r *Runner) trackLink(url, campUUID, subUUID string) string {
|
func (r *Runner) trackLink(url, campUUID, subUUID string) string {
|
||||||
r.linksMutex.RLock()
|
r.linksMutex.RLock()
|
||||||
if uu, ok := r.links[url]; ok {
|
if uu, ok := r.links[url]; ok {
|
||||||
|
r.linksMutex.RUnlock()
|
||||||
return uu
|
return uu
|
||||||
}
|
}
|
||||||
r.linksMutex.RUnlock()
|
r.linksMutex.RUnlock()
|
||||||
|
|
Loading…
Reference in New Issue