Skip to content

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

Open
richardeakin wants to merge 1 commit intocinder:masterfrom
richardeakin:rte/audio_context_disconnect_all_fix
Open

audio: Context::disconnectAllNodes() clears auto-pulled containers#2336
richardeakin wants to merge 1 commit intocinder:masterfrom
richardeakin:rte/audio_context_disconnect_all_fix

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