Browse Source

fix test

pull/8067/head
tycho garen 3 years ago
parent
commit
079d3e5e25
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      internal/proxy/multi_app_conn.go

+ 5
- 3
internal/proxy/multi_app_conn.go View File

@ -42,9 +42,11 @@ func tryCallStop(client abciclient.Client) {
if client == nil {
return
}
if sc, ok := client.(interface{ Stop() }); ok {
sc.Stop()
switch c := client.(type) {
case interface{ Stop() }:
c.Stop()
case *proxyClient:
tryCallStop(c.Client)
}
}


Loading…
Cancel
Save