mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-22 07:06:14 +00:00
Update internal/proxy/multi_app_conn.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
This commit is contained in:
co-authored by
M. J. Fromberger
parent
b5fecde705
commit
bacc38aced
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user