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" "log"
"os" "os"
"os/signal" "os/signal"
"runtime"
"strconv" "strconv"
"syscall" "syscall"
"time" "time"
@ -102,13 +101,6 @@ func main() {
userCount := make(chan int) userCount := make(chan int)
go pingMumble(*mumbleAddr, strconv.Itoa(*mumblePort), userCount) go pingMumble(*mumbleAddr, strconv.Itoa(*mumblePort), userCount)
go discordStatusUpdate(discord, 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 { if *autoMode {
Bridge.AutoChan = make(chan bool) Bridge.AutoChan = make(chan bool)
go AutoBridge(discord) go AutoBridge(discord)