diff options
Diffstat (limited to 'libgo/go/rpc/jsonrpc/client.go')
-rw-r--r-- | libgo/go/rpc/jsonrpc/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/rpc/jsonrpc/client.go b/libgo/go/rpc/jsonrpc/client.go index 577d0ce..17e9b93 100644 --- a/libgo/go/rpc/jsonrpc/client.go +++ b/libgo/go/rpc/jsonrpc/client.go @@ -79,7 +79,7 @@ func (c *clientCodec) ReadResponseHeader(r *rpc.Response) os.Error { c.mutex.Lock() r.ServiceMethod = c.pending[c.resp.Id] - c.pending[c.resp.Id] = "", false + delete(c.pending, c.resp.Id) c.mutex.Unlock() r.Error = "" |