mirror of https://github.com/tidwall/tile38.git
parent
ad6e5aeab8
commit
6174c6434d
|
@ -181,7 +181,7 @@ func (server *Server) aofshrink() {
|
||||||
func() {
|
func() {
|
||||||
server.mu.Lock()
|
server.mu.Lock()
|
||||||
defer server.mu.Unlock()
|
defer server.mu.Unlock()
|
||||||
hook, _ := server.hooks.GetHint(name, &hookHint).(*Hook)
|
hook, _ := server.hooks.GetHint(&Hook{Name: name}, &hookHint).(*Hook)
|
||||||
if hook == nil {
|
if hook == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue