From e9969989bd0ffe05cd671f65d72ecafcd133dd0f Mon Sep 17 00:00:00 2001
From: Joe Zou <yixian.zou@gmail.com>
Date: Mon, 26 Oct 2020 00:18:42 +0800
Subject: [PATCH] change a flag for reinit getty_pool

---
 remoting/exchange_client.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/remoting/exchange_client.go b/remoting/exchange_client.go
index efcfca558..75ae94583 100644
--- a/remoting/exchange_client.go
+++ b/remoting/exchange_client.go
@@ -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
-- 
GitLab