mirror of
https://github.com/soukoku/ntwain.git
synced 2025-04-05 20:59:23 +08:00
More #10 fixes
This commit is contained in:
parent
6087438b5d
commit
fed14365f1
@ -116,13 +116,15 @@ namespace NTwain.Internals
|
||||
|
||||
#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 (pending.Count != 0);
|
||||
|
||||
session.ChangeState(5, true);
|
||||
session.DisableSource();
|
||||
} while (rc == ReturnCode.Success && pending.Count != 0);
|
||||
|
||||
// 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
|
||||
|
@ -14,6 +14,6 @@ namespace NTwain
|
||||
// keep this same in majors releases
|
||||
public const string Release = "2.0.0.0";
|
||||
// change this for each nuget release
|
||||
public const string Build = "2.0.1";
|
||||
public const string Build = "2.0.2";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user