mtproto
mtproto copied to clipboard
Deadlock after reconnect (changing datacenter)
the code will be blocked for ever in reconnect method, after getting PHONE_MIGRATE_ or NETWORK_MIGRATE_.
It is waiting for 3 updates on allDone channel, in which 2 of them never arrive (for sendRoutine and sendRoutine)