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