Don't raise ReactorError for alt DCs

This commit is contained in:
Wizou 2023-03-09 22:32:57 +01:00
parent c646cac738
commit b63829393e
2 changed files with 3 additions and 2 deletions

2
.github/dev.yml vendored
View file

@ -2,7 +2,7 @@ pr: none
trigger:
- master
name: 3.3.1-dev.$(Rev:r)
name: 3.3.2-dev.$(Rev:r)
pool:
vmImage: ubuntu-latest

View file

@ -347,7 +347,8 @@ namespace WTelegram
}
catch
{
RaiseUpdate(reactorError);
if (IsMainDC)
RaiseUpdate(reactorError);
lock (_pendingRpcs) // abort all pending requests
{
foreach (var rpc in _pendingRpcs.Values)