From 9bdda64b063c253943e32e42a9fcb16ba7a564bd Mon Sep 17 00:00:00 2001
From: a <a@tuxpa.in>
Date: Fri, 4 Aug 2023 04:20:17 -0500
Subject: [PATCH] help me

---
 contrib/client/reconnecting.go | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/client/reconnecting.go b/contrib/client/reconnecting.go
index e82fb74..9b1324e 100644
--- a/contrib/client/reconnecting.go
+++ b/contrib/client/reconnecting.go
@@ -86,7 +86,11 @@ func (r *Reconnecting) Mount(m codec.Middleware) {
 
 // why would you want to do this....
 func (r *Reconnecting) Close() error {
-	return nil
+	conn, err := r.getClient(context.Background())
+	if err != nil {
+		return err
+	}
+	return conn.Close()
 }
 
 // never....
-- 
GitLab