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 committed Oct 28, 2020
2 parents efc1816 + e996998 commit 5996f75
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 5996f75

Please sign in to comment.