Browse Source

fix connection leak when login_fail_exit is false, fix #1335

pull/1344/head
fatedier 5 years ago
parent
commit
5680a88267
  1. 2
      client/service.go

2
client/service.go

@ -86,6 +86,8 @@ func (svr *Service) Run() error {
if g.GlbClientCfg.LoginFailExit {
return err
} else {
conn.Close()
session.Close()
time.Sleep(10 * time.Second)
}
} else {

Loading…
Cancel
Save