mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-22 23:13:01 +00:00
This commit is contained in:
parent
8aabbeefe1
commit
4b97edae74
@ -16,7 +16,6 @@ import (
|
|||||||
"github.com/xtls/xray-core/common/cmdarg"
|
"github.com/xtls/xray-core/common/cmdarg"
|
||||||
"github.com/xtls/xray-core/common/platform"
|
"github.com/xtls/xray-core/common/platform"
|
||||||
"github.com/xtls/xray-core/core"
|
"github.com/xtls/xray-core/core"
|
||||||
"github.com/xtls/xray-core/infra/conf"
|
|
||||||
"github.com/xtls/xray-core/main/commands/base"
|
"github.com/xtls/xray-core/main/commands/base"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -82,9 +81,11 @@ func executeRun(cmd *base.Command, args []string) {
|
|||||||
}
|
}
|
||||||
defer server.Close()
|
defer server.Close()
|
||||||
|
|
||||||
conf.FileCache = nil
|
/*
|
||||||
conf.IPCache = nil
|
conf.FileCache = nil
|
||||||
conf.SiteCache = nil
|
conf.IPCache = nil
|
||||||
|
conf.SiteCache = nil
|
||||||
|
*/
|
||||||
|
|
||||||
// Explicitly triggering GC to remove garbage from config loading.
|
// Explicitly triggering GC to remove garbage from config loading.
|
||||||
runtime.GC()
|
runtime.GC()
|
||||||
|
Loading…
Reference in New Issue
Block a user