Potential fix for region export on windows

This commit is contained in:
Robin Gareus 2022-04-14 00:30:03 +02:00
parent 7f12c664d2
commit 99ed076e7e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2093,5 +2093,9 @@ AudioRegion::do_export (std::string const& path) const
to_read -= this_time;
pos += this_time;
}
/* Drop references, close file */
interleaver.clear_outputs ();
sfw.reset ();
return to_read == 0;
}