1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 09:15:14 +01:00

Removed profiler code

This commit is contained in:
Mathias Hall-Andersen 2017-12-02 00:00:45 +01:00
parent eaca1ee1f7
commit 9fef0ca2fb

View File

@ -8,10 +8,6 @@ import (
"strconv" "strconv"
) )
import _ "net/http/pprof"
import "net/http"
import "log"
const ( const (
ExitSetupSuccess = 0 ExitSetupSuccess = 0
ExitSetupFailed = 1 ExitSetupFailed = 1
@ -29,10 +25,6 @@ func printUsage() {
func main() { func main() {
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
// parse arguments // parse arguments
var foreground bool var foreground bool