CUETools: CTDB verification during encoding, CTDB confidence tags

This commit is contained in:
Grigory Chudov
2013-06-04 00:10:33 -04:00
parent fc74fc5ad5
commit 1e502ab0b9
18 changed files with 1419 additions and 1078 deletions

View File

@@ -353,7 +353,6 @@ namespace CUETools.Codecs.FLACCL
{
if (inited)
{
_IO.Close();
if (task2.frameCount > 0)
{
if (cpu_tasks != null)
@@ -374,6 +373,10 @@ namespace CUETools.Codecs.FLACCL
task.Dispose();
openCLProgram.Dispose();
OCLMan.Dispose();
// For some reason, if i move _IO.Close before OCLMan.Dispose,
// interrupting conversion takes many seconds - Delete() just
// hangs somewhere in the vicinity of File.Delete().
_IO.Close();
inited = false;
}