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

audio: Context::disconnectAllNodes() clears auto-pulled containers #2336

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

richardeakin
Copy link
Collaborator

audio::Context::disconnectAllNodes() clears out any auto-pulled nodes after disconnecting all nodes in the graph. Without this, switching between tests results in stray MonitorNodes that the user no longer has access to (they were still owned by the audio::Context. This assumes that if you are calling the helper Context::disconnectAllNodes() function, you'll have to reconnect any MonitorNode or other auto-pullables after.

First discovered when testing the updated AudioTests suite added in #2335.

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