Try to solve #1226
This commit is contained in:
parent
1090d29f74
commit
f4dafac28f
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ namespace AaxDecrypter
|
|||
/// <param name="requiredPosition">The minimum required flushed data length in <see cref="SaveFilePath"/>.</param>
|
||||
private void WaitToPosition(long requiredPosition)
|
||||
{
|
||||
while (WritePosition < requiredPosition
|
||||
while (_readFile.Position < requiredPosition
|
||||
&& DownloadTask?.IsCompleted is false
|
||||
&& !IsCancelled)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue