Skip to content

Function: ssClearCaches() ​

ssClearCaches(): void

Defined in: packages/react-native-spritestudio/src/core/caches.ts:53

Empties both caches.

The leak check calls this before it measures: a cache holding a pack is indistinguishable from a leaked handle when the measurement is a count of live ones.

Returns ​

void