Repository navigation
Commit ff30ccd
MtProtoKit: Cancel the backup address lookup when a context is cleaned up
MTContext's cleanup disposed every pending action except the backup
address discovery. A context freed while a lookup was in flight (the login
screen's network on macOS) hit the DEBUG leaked-disposable assert, and in
release the lookup kept running after the context was gone.1 parent 1dd3e7f commit ff30ccd
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
400 | 403 | | |
401 | 404 | | |
402 | 405 | | |
| |||
447 | 450 | | |
448 | 451 | | |
449 | 452 | | |
| 453 | + | |
| 454 | + | |
450 | 455 | | |
451 | 456 | | |
452 | 457 | | |
| |||
0 commit comments