Interface: SsLiveHandles
Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:330
How many native handles are alive right now — the leak check, made observable.
A handle that outlives its player has no symptom on the JS side at all. It shows up as memory the Brain never gives back, which on a simulator is invisible and on a device is a crash several minutes later.
A count, not a byte total, because that is what can be checked exactly: run a load/dispose cycle N times and both numbers must come back to where they started. Anything else is a leak, and which number stayed high says where — a stuck contexts is a player that was not disposed, a stuck resources with contexts back at baseline is a .ssab released out of order.
Counted on the C++ side rather than in TypeScript on purpose: the whole question is whether the native object went away, and only the native destructor knows that.
Properties
contexts
contexts:
number
Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:334
Live SsContexts — one per player that has not been released.
resources
resources:
number
Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:332
Live SsResources — one per loaded .ssab that has not been released.