Skip to content

Commit

Permalink
Merge pull request #803 from zouyx/fixRestartBug
Browse files Browse the repository at this point in the history
Fix: Consumer panic when restart provider
  • Loading branch information
AlexStocks authored Oct 28, 2020
2 parents 1268a96 + 643a7c7 commit e6a3382
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions remoting/exchange_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ func (client *ExchangeClient) Send(invocation *protocol.Invocation, url common.U
// close client
func (client *ExchangeClient) Close() {
client.client.Close()
// for reinit client
client.init = false
}

// handle the response from server
Expand Down

0 comments on commit e6a3382

Please sign in to comment.