From 70b0a691b65fdb43ebf7ec8142b1f7bd28009dde Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 3 Jan 2021 16:23:27 -0500 Subject: [PATCH] remove debug code --- main.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.go b/main.go index c708750..8c85a40 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,6 @@ import ( "log" "os" "os/signal" - "runtime" "strconv" "syscall" "time" @@ -102,13 +101,6 @@ func main() { userCount := make(chan int) go pingMumble(*mumbleAddr, strconv.Itoa(*mumblePort), userCount) go discordStatusUpdate(discord, userCount) - go func() { - for { - time.Sleep(3 * time.Second) - log.Println(runtime.NumGoroutine()) - //pprof.Lookup("goroutine").WriteTo(os.Stdout, 1) - } - }() if *autoMode { Bridge.AutoChan = make(chan bool) go AutoBridge(discord)