浏览代码

Fix RoutePacketConnectionEx

世界 4 月之前
父节点
当前提交
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)
 	}
 }