# clearSingletonCache method

1. @override

void clearSingletonCache()
override

Clear all cached singleton instances in this registry.

This method resets the registry to its initial state by clearing all singleton caches and resetting internal state flags.

Example:

    // After destruction or for testing
    registry.clearSingletonCache();

## Implementation

    @override
    void clearSingletonCache() {
      super.clearSingletonCache();
      podProviderInstanceCache.clear();
    }