remove debug code

This commit is contained in:
stryan 2021-01-03 16:23:27 -05:00
parent 665d42fc51
commit 70b0a691b6

View File

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