mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-27 21:46:56 +00:00
fix: Report fork component references to reference manager
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user