onDetached

open override fun onDetached(middlewareContext: C)

Called when the middleware manager is detached.

This method cleans up all middleware switchers by invoking their onDetached method.

Parameters

middlewareContext

The context providing information about the middleware state.