clearAllRoutes method

void clearAllRoutes()

Clear all route registrations

Useful for resetting the observer state during testing or app reconfiguration.

Implementation

void clearAllRoutes() {
  _routeControllers.clear();
  _routeControllerTags.clear();
  _routeScopes.clear();

  // Changed from logDebug to logInfo - important configuration event
  ZenLogger.logInfo('Cleared all route controller registrations');
}