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 AudioNode.disconnect(node) #7

Merged
merged 1 commit into from Jun 2, 2020
Merged

Conversation

marcello3d
Copy link

The issue here is that AudioNodeOutput.disconnect is comparing the impl.AudioNode instance (stored internally) with api.AudioNode instance (passed into the disconnect method), and they're never equal.

I'm not entirely sure if this is the right fix but it works. Also added a simple unit test that failed before this change.

@marcello3d marcello3d requested a review from srubin June 1, 2020 23:53
@marcello3d marcello3d merged commit dcc6dd6 into master Jun 2, 2020
@marcello3d marcello3d deleted the mbf/fix-node-disconnect branch June 2, 2020 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants