diff --git a/infrastructure/network/netadapter/standalone/routes.go b/infrastructure/network/netadapter/standalone/routes.go index fe277d2f8..0f1dc830a 100644 --- a/infrastructure/network/netadapter/standalone/routes.go +++ b/infrastructure/network/netadapter/standalone/routes.go @@ -62,3 +62,8 @@ func (r *Routes) WaitForDisconnect(timeout time.Duration) error { } } } + +// Disconnect closes the connection behind the routes, thus closing all routes +func (r *Routes) Disconnect() { + r.netConnection.Disconnect() +}