Before it would end up paused, but this means the audio playback thread will still keep it alive. Since there are no other references, there is no way to then free that Source anymore.
@@ -96,6 +96,8 @@ Video::Video(Graphics *gfx, love::video::VideoStream *stream, float dpiscale)
Video::~Video()
{
+ if (source)
+ source->stop();
}
love::video::VideoStream *Video::getStream()