update e2e tests (#1973)

This commit is contained in:
fatedier authored and GitHub committed 2020-09-07 15:45:44 +08:00
1 parent c9fe23eb10
commit 48fa618c34
5 files changed
+38 -435

No files matched your search

+3 -1
View File
@@ -293,6 +293,8 @@ func (svr *Service) ReloadConf(pxyCfgs map[string]config.ProxyConf, visitorCfgs
func (svr *Service) Close() {
atomic.StoreUint32(&svr.exit, 1)
svr.ctl.Close()
if svr.ctl != nil {
svr.ctl.Close()
}
svr.cancel()
}