remove debug statements

This commit is contained in:
Krzysztof Dryś 2024-04-17 16:23:11 +02:00
parent 2299f46da1
commit d1953f56cb

View File

@ -2,7 +2,6 @@ package connection
import ( import (
"bytes" "bytes"
"fmt"
"sync" "sync"
"time" "time"
@ -59,17 +58,12 @@ func startProxy(wsConn *websocket.Conn, send *safeChannel, read chan []byte) {
go recovery.DoNotPanic(func() { go recovery.DoNotPanic(func() {
defer wg.Done() defer wg.Done()
fmt.Println("writePump start")
proxy.writePump() proxy.writePump()
fmt.Println("writePump end")
}) })
go recovery.DoNotPanic(func() { go recovery.DoNotPanic(func() {
fmt.Println("readPump start")
defer wg.Done() defer wg.Done()
proxy.readPump() proxy.readPump()
fmt.Println("readPump end")
}) })
go recovery.DoNotPanic(func() { go recovery.DoNotPanic(func() {