forked from Mxmilu666/frp
frps: fix sometimes no response when frpc login to frps, see #142
This commit is contained in:
@@ -395,7 +395,7 @@ func CreateProxy(s *ProxyServer) error {
|
||||
if oldServer.Status == consts.Working {
|
||||
return fmt.Errorf("this proxy is already working now")
|
||||
}
|
||||
oldServer.Close()
|
||||
oldServer.Release()
|
||||
if oldServer.PrivilegeMode {
|
||||
delete(ProxyServers, s.Name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user