Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(statistics) initialize LocalStatsCollector on Statistics.init #2494

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

saghul
Copy link
Member

@saghul saghul commented Mar 28, 2024

Creating the AudioContext at import time means a warning line is printed in the JS console even before the user has a chance of initializing the library, which is weird.

There is no harm in initializing it in init since it's the first thing the user needs to do in order to use the library.

Creating the AudioContext at import time means a warning line is printed
in the JS console even before the user has a chance of initializing the
library, which is weird.

There is no harm in initializing it in init since it's the first thing
the user needs to do in order to use the library.
@saghul saghul merged commit b564cbf into master Mar 28, 2024
2 checks passed
@saghul saghul deleted the local-stats-init branch March 28, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants