Skip to content

Commit 877bb71

Browse files
committed
multi-thread problem solving
1 parent 436cac0 commit 877bb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postbird.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func Binder(wg *sync.WaitGroup, BindAddr string, Port uint) {
240240

241241
ClientID := RandStringRunes(17)
242242
Clients = append(Clients, Client{nil, conn, ClientID})
243-
WaitHandler.Add(1)
243+
//WaitHandler.Add(1)
244244
go requestHandler(&WaitHandler, conn) // 비동기로 requestHandler 호출
245245
}
246246

0 commit comments

Comments
 (0)