Closed chengjinluo closed 10 months ago
Thanks, this might be the same problem as #113, this is a perfect bug report.
It should've been fixed in 0.6.0b7, feel free to reopen if the leak is not resolved.
The leaks issue was still there,please help!
The leaks issue was still there,please help!
Can you elaborate on your observations? Thanks.
Describe the bug
AsyncCurl
holdsTimerHandle
ofcall_later
task invoked by libcurl's timer function and it is not released after the delay function is called.To Reproduce
Output
Expected behavior Saved
TimerHandle
should be released after the delay function is called.Versions
pip freeze
dumpAdditional context It seems using a
WeakSet
instead of list foracurl._timers
could solve this problem.