Closed LightBarSky closed 1 year ago
I forgot to add, these changes appeared after the last update, before that everything was fine.
Duplicate of #128 Fixed in 3.2.3-dev.5
Duplicate of #128
Duplicate of #128
After the update, the problem persisted. With Reactor Error isMainDC goes false and the _session object is not destroyed
Sounds like a bug. You're not supposed to get ReactorError (and dispose the client) for alt DC, only for the main DC.
This issue should now be fixed in 3.3.2-dev.1 (b63829393e4acffe30eae21a5b083e914d9dd7d8)
Disconnections of alt DCs are expected and normal. See https://wiz0u.github.io/WTelegramClient/FAQ.html#shutdown
I use several pre-created sessions, when intercepting a ReactorError in one of them, as indicated in FAQ 11, I recreate the client by destroying it with the Dispose() method. However, I can't create a new client object because the session is occupied by another process, Dispose() for _session is missing somewhere.