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