Commit 2b00b7d6 authored by huwenbo's avatar huwenbo

fix panic: sync: negative WaitGroup counter

parent 3d9286f0
......@@ -13,7 +13,7 @@ type graceConn struct {
closed bool
}
func (c graceConn) Close() (err error) {
func (c *graceConn) Close() (err error) {
defer func() {
if r := recover(); r != nil {
switch x := r.(type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment