mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-07-12 04:07:41 -04:00
remove unused code
This commit is contained in:
@@ -12,8 +12,6 @@ import (
|
||||
|
||||
"v2ray.com/core"
|
||||
"v2ray.com/core/common/log"
|
||||
//"net/http"
|
||||
//_ "net/http/pprof"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -96,10 +94,6 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
//go func() {
|
||||
// http.ListenAndServe(":6060", nil)
|
||||
//}()
|
||||
|
||||
if point := startV2Ray(); point != nil {
|
||||
osSignals := make(chan os.Signal, 1)
|
||||
signal.Notify(osSignals, os.Interrupt, os.Kill, syscall.SIGTERM)
|
||||
|
||||
Reference in New Issue
Block a user