More #10 fixes

This commit is contained in:
soukoku
2014-06-20 22:21:02 -04:00
parent 6087438b5d
commit fed14365f1
2 changed files with 9 additions and 7 deletions

View File

@@ -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

View File

@@ -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";
} }
} }