update Sing and Xray core

This commit is contained in:
wyx2685
2024-01-08 00:58:21 +09:00
parent 16221d17fb
commit c4d404d979
5 changed files with 23 additions and 16 deletions

View File

@@ -96,7 +96,6 @@ func serverHandle(_ *cobra.Command, _ []string) {
log.WithField("err", err).Error("Restart node failed")
return
}
runtime.GC()
vc, err = vCore.NewCore(c.CoresConfig)
if err != nil {
log.WithField("err", err).Error("New core failed")
@@ -114,6 +113,7 @@ func serverHandle(_ *cobra.Command, _ []string) {
return
}
log.Info("Nodes restarted")
runtime.GC()
})
if err != nil {
log.WithField("err", err).Error("start watch failed")