mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Move quickMode check and dispose streamResult
This commit is contained in:
parent
d608df5074
commit
20e869a124
@ -250,10 +250,15 @@ namespace Wabbajack.Lib.Downloaders
|
||||
return false;
|
||||
}
|
||||
|
||||
if (quickMode)
|
||||
{
|
||||
streamResult.Dispose();
|
||||
return true;
|
||||
}
|
||||
|
||||
await using (var os = await path.Create())
|
||||
await using (var ins = await streamResult.Content.ReadAsStreamAsync())
|
||||
{
|
||||
if (quickMode) return true;
|
||||
if (a.Size == 0)
|
||||
{
|
||||
Utils.Status($"Downloading {a.Name}");
|
||||
|
Loading…
Reference in New Issue
Block a user