1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-17 12:52:16 +00:00

fix panic: sync: negative WaitGroup counter

This commit is contained in:
huwenbo
2017-06-13 15:19:51 +08:00
parent cab8458c1c
commit 55e6c15073
2 changed files with 13 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ func (gl *graceListener) Accept() (c net.Conn, err error) {
tc.SetKeepAlive(true)
tc.SetKeepAlivePeriod(3 * time.Minute)
c = graceConn{
c = &graceConn{
Conn: tc,
server: gl.server,
}