Update internal/proxy/multi_app_conn.go

Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
This commit is contained in:
Sam Kleinman
2022-03-04 12:29:39 -05:00
committed by GitHub
co-authored by M. J. Fromberger
parent b5fecde705
commit bacc38aced
+2 -3
View File
@@ -39,10 +39,9 @@ func (app *proxyConn) Start(ctx context.Context) error { return app.BaseService.
func (app *proxyConn) Wait() { app.BaseService.Wait() }
func tryCallStop(client abciclient.Client) {
if client == nil {
return
}
switch c := client.(type) {
case nil:
return
case interface{ Stop() }:
c.Stop()
case *proxyClient: