diff --git a/route/router.go b/route/router.go index adbdbd20..7a7c535a 100644 --- a/route/router.go +++ b/route/router.go @@ -415,6 +415,9 @@ func (r *Router) Initialize(inbounds []adapter.Inbound, outbounds []adapter.Outb } func (r *Router) Outbounds() []adapter.Outbound { + if !r.started { + return nil + } return r.outbounds }