diff --git a/rpc/packages.go b/rpc/packages.go index 72e090130f..aed43cae2b 100644 --- a/rpc/packages.go +++ b/rpc/packages.go @@ -617,6 +617,8 @@ done: delete(self.messages, id) } } + self.logMut.Unlock() + self.messagesMut.Unlock() case <-self.quit: break done }