RustAudio / cpal

Cross-platform audio I/O library in pure Rust
Apache License 2.0
2.7k stars 355 forks source link

[WebAudioAPI] variables captured by output_stream data_callback are never dropped #770

Open VincentJousse opened 1 year ago

VincentJousse commented 1 year ago

The AudioBufferSourceNode::set_onended method is never called with None to free the data_callback.

VincentJousse commented 1 year ago

Calling AudioBufferSourceNode::set_onended method with None doesn't fix the issue.