sbooth / SFBAudioEngine

A powerhouse of audio functionality for macOS and iOS
https://sbooth.github.io/SFBAudioEngine/
MIT License
552 stars 87 forks source link

Retain cycle in `SFBAudioPlayerNode` prevents deallocation #296

Closed sbooth closed 5 months ago

sbooth commented 5 months ago

There is a retain cycle in SFBAudioPlayerNode that prevents the object from being deallocated when it's removed from the audio processing graph.

At least one cause is the use of self in the render block but there are likely other culprits as well.

sbooth commented 5 months ago

Fixed in #297