close all proxies if protocol = kcp

This commit is contained in:
fatedier
2017-06-27 01:59:30 +08:00
parent b811a620c3
commit aede4e54f8
4 changed files with 57 additions and 3 deletions

View File

@@ -41,3 +41,7 @@ func (svr *Service) Run() error {
<-svr.closedCh
return nil
}
func (svr *Service) Close() error {
return svr.ctl.Close()
}