mirror of
https://github.com/fatedier/frp.git
synced 2025-07-15 18:30:01 +07:00
fix: frpc reconnect frps frequently lead to memory leak (#1722)
This commit is contained in:
@ -183,6 +183,7 @@ func (ctl *Control) HandleNewProxyResp(inMsg *msg.NewProxyResp) {
|
||||
func (ctl *Control) Close() error {
|
||||
ctl.pm.Close()
|
||||
ctl.conn.Close()
|
||||
ctl.vm.Close()
|
||||
if ctl.session != nil {
|
||||
ctl.session.Close()
|
||||
}
|
||||
|
Reference in New Issue
Block a user