From b53f8b56a47258773f70267b7e2f4bd1962dde5b Mon Sep 17 00:00:00 2001 From: Meo597 <197331664+Meo597@users.noreply.github.com> Date: Wed, 8 Jul 2026 20:56:21 +0800 Subject: [PATCH] remove IndependentCancelCtx --- common/session/context.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/session/context.go b/common/session/context.go index abe4219ca..df445ab55 100644 --- a/common/session/context.go +++ b/common/session/context.go @@ -10,9 +10,6 @@ import ( "github.com/xtls/xray-core/features/routing" ) -//go:linkname IndependentCancelCtx context.newCancelCtx -func IndependentCancelCtx(parent context.Context) context.Context - const ( inboundSessionKey ctx.SessionKey = 1 outboundSessionKey ctx.SessionKey = 2