mirror of
https://github.com/soukoku/ntwain.git
synced 2025-09-18 17:47:57 +08:00
More #10 fixes
This commit is contained in:
@@ -116,13 +116,15 @@ namespace NTwain.Internals
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
// some poorly written scanner drivers return failure on EndXfer so only check for pending count now
|
} while (rc == ReturnCode.Success && pending.Count != 0);
|
||||||
//} while (rc == ReturnCode.Success && pending.Count != 0);
|
|
||||||
} while (pending.Count != 0);
|
|
||||||
|
|
||||||
session.ChangeState(5, true);
|
|
||||||
session.DisableSource();
|
|
||||||
|
|
||||||
|
// some poorly written scanner drivers return failure on EndXfer so also check for pending count now
|
||||||
|
// this may break with other sources but we'll see
|
||||||
|
if (pending.Count == 0)
|
||||||
|
{
|
||||||
|
session.ChangeState(5, true);
|
||||||
|
session.DisableSource();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#region audio xfers
|
#region audio xfers
|
||||||
|
@@ -14,6 +14,6 @@ namespace NTwain
|
|||||||
// keep this same in majors releases
|
// keep this same in majors releases
|
||||||
public const string Release = "2.0.0.0";
|
public const string Release = "2.0.0.0";
|
||||||
// change this for each nuget release
|
// change this for each nuget release
|
||||||
public const string Build = "2.0.1";
|
public const string Build = "2.0.2";
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user