1
0
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:
Darien Raymond 2016-11-21 23:27:32 +01:00
parent bc822985ab
commit 36cc6f5ef2
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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)