Skip to content

Commit

Permalink
lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Jan 29, 2025
1 parent 3533936 commit 73f8bfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handlers/scraper/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ func handleConnection(conn net.Conn) {
var wg sync.WaitGroup

defer func() {
sessCount.Add(-1)
conn.Close()
wg.Done()
}()
sessCount.Add(1)
wg.Add(1)

for rm := range inChan {
Expand Down

0 comments on commit 73f8bfa

Please sign in to comment.