panic in getLockedClient
This commit is contained in:
parent
76ac5fabaa
commit
3db0777a93
@ -23,9 +23,8 @@ func getLockedClient(id int64, createMissing bool) (*ChirpClient, bool) {
|
|||||||
return c, true
|
return c, true
|
||||||
} else {
|
} else {
|
||||||
muxClients.RUnlock()
|
muxClients.RUnlock()
|
||||||
//c := new(ChirpClient)
|
c := new(ChirpClient)
|
||||||
//return c, false
|
return c, false
|
||||||
return nil, false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user