mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This commit is contained in:
@@ -327,11 +327,15 @@ internal sealed class GlobalCache : SerializableFile {
|
||||
|
||||
StreamResponse? response = await ASF.WebBrowser.UrlGetToStream(request, cancellationToken: cancellationToken).ConfigureAwait(false);
|
||||
|
||||
if (response?.Content == null) {
|
||||
if (response == null) {
|
||||
return (false, null);
|
||||
}
|
||||
|
||||
await using (response.ConfigureAwait(false)) {
|
||||
if (response.Content == null) {
|
||||
return (false, null);
|
||||
}
|
||||
|
||||
try {
|
||||
using StreamReader reader = new(response.Content);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user