mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-14 19:45:41 -05:00
remove debug code
This commit is contained in:
parent
665d42fc51
commit
70b0a691b6
8
main.go
8
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)
|
||||
|
Loading…
Reference in New Issue
Block a user