debugSfxReleaseCount property

  1. @visibleForTesting
int debugSfxReleaseCount
getter/setter pair

Count of playSfx calls that returned their player to _sfxPool — ENH-79's regression guard: every call (success or failure) must release exactly once, so this should always equal the number of playSfx calls that have finished.

Implementation

@visibleForTesting
int debugSfxReleaseCount = 0;