Thread leak bugfix for VideoComponent::loadAsync()

Looks like VideoComponent::loadAsync() has been leaking AV objects on Mac ever since its introduction in https://github.com/juce-framework/juce/commit/3153264

More importantly, the result was that threads were also leaking every time a new video was loaded using this function.

I believe I fixed the bug here (note this is still based on JUCE 5):

Dan

2 Likes

Thanks for the fix! We’ve added this to the develop branch:

3 Likes