fix a warning
This commit is contained in:
parent
018c07d944
commit
593cb02d3f
@ -301,8 +301,9 @@ func (server *Server) streamOnline(w http.ResponseWriter, r *http.Request, mtime
|
||||
if !exists {
|
||||
server.lu.Lock()
|
||||
locked = true
|
||||
}
|
||||
|
||||
memoryObject, exists = server.o[r.URL.Path]
|
||||
}
|
||||
if exists {
|
||||
if locked {
|
||||
server.lu.Unlock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user