1
0
Эх сурвалжийг харах

Fix RoutePacketConnectionEx

世界 5 сар өмнө
parent
commit
bc5eb1e1a5
1 өөрчлөгдсөн 0 нэмэгдсэн , 2 устгасан
  1. 0 2
      route/route.go

+ 0 - 2
route/route.go

@@ -176,8 +176,6 @@ func (r *Router) RoutePacketConnectionEx(ctx context.Context, conn N.PacketConn,
 		} else {
 			r.logger.ErrorContext(ctx, err)
 		}
-	} else if onClose != nil {
-		onClose(nil)
 	}
 }