cpal icon indicating copy to clipboard operation
cpal copied to clipboard

Fix callback being called after dropping the stream

Open ZerNico opened this issue 11 months ago • 3 comments

This fixes #771 by manually stopping the stream on drop.

ZerNico avatar Mar 22 '24 14:03 ZerNico

When I think about it this might not be the best solution because StreamInner is still alive after dropping Stream

ZerNico avatar Mar 25 '24 10:03 ZerNico

Now uses a weak reference to allow the inner stream to drop

ZerNico avatar Mar 26 '24 08:03 ZerNico

Hey @est31, sorry to bother. Do you think we could get this merged soon or is there anything left to do? It's a pretty major bug on MacOS

ZerNico avatar Apr 26 '24 18:04 ZerNico