Skip to content

Commit

Permalink
fix bug in rpc_client.go (#510)
Browse files Browse the repository at this point in the history
Co-authored-by: guyinyou <[email protected]>
  • Loading branch information
guyinyou and guyinyou committed May 10, 2023
1 parent 5a35b39 commit c894d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golang/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (rc *rpcClient) GracefulStop() error {
rc.mux.Lock()
sugarBaseLogger.Warnf("close rpc client, target=%s", rc.target)
closeResult := rc.conn.Close()
rc.mux.Lock()
rc.mux.Unlock()
return closeResult
}

Expand Down

0 comments on commit c894d41

Please sign in to comment.