fix: Report fork component references to reference manager

This commit is contained in:
Shtorm
2026-10-19 14:37:32 +03:00
parent 2283c95513
commit 6b5ee55ba2
14 changed files with 157 additions and 0 deletions
+4
View File
@@ -100,6 +100,10 @@ func (h *Outbound) Start(stage adapter.StartStage, scope *adapter.Scope) error {
return h.router.Start(stage, scope)
}
func (h *Outbound) References() []string {
return h.router.References()
}
func (h *Outbound) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error) {
onClose, lockCtx, err := h.strategy.request(ctx, adapter.ContextFrom(ctx))
if err != nil {