Skip to content

fix: guard Howler rate calls when sound pool is empty - #189

Merged
dazzatronus merged 1 commit into
mainfrom
fix/howler-rate-empty-sounds
Sep 25, 2026
Merged

dazzatronus merged 1 commit into
mainfrom
fix/howler-rate-empty-sounds

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Howler's rate getter throws when its sound pool is empty. Skip unloaded resources and read the rate only while a sound is playing, so play() can still create a sound when a loaded pool is empty.

Verify: npm run verify:ci passes on Node 22, including 2,084 tests.

@dazzatronus
dazzatronus force-pushed the fix/howler-rate-empty-sounds branch from 5a3e4b8 to ea1b63e Compare September 25, 2026 00:28
@dazzatronus
dazzatronus merged commit 45306dd into main Sep 25, 2026
1 check passed
github-actions Bot pushed a commit that referenced this pull request Sep 25, 2026
## [2.22.3](v2.22.2...v2.22.3) (2026-09-25)

### Bug Fixes

* guard audio rate reads without blocking playback recovery ([#189](#189)) ([45306dd](45306dd))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.22.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dazzatronus
dazzatronus deleted the fix/howler-rate-empty-sounds branch September 25, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant