Skip to content
Snippets Groups Projects
Commit 5996f75e authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #803 from zouyx/fixRestartBug

Fix: Consumer panic when restart provider 
parents efc18162 e9969989
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment