Commit aa937a7
fixed memory leak when session.send coroutine is cancelled (pyrogram#311)
added that when session.send coroutine is cancelled (or if any other exception is raised) the result should still be removed from the results list1 parent 8f0b8ba commit aa937a7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
| 385 | + | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
0 commit comments