dotandimet / Mojo-UserAgent-Role-Queued

A role for Mojo::UserAgent that processes non-blocking requests in a rate-limiting queue.
Other
3 stars 2 forks source link

Fix memory leak #6

Closed tyldum closed 6 years ago

tyldum commented 6 years ago

This seems to fix a memory leak I found. Might need more vetting, but I will keep testing voer the coming week.

dotandimet commented 6 years ago

Tried to add a test for this; not too happy with it (Devel::Cycle throws warnings about GLOBs and REGEXPs). Still, looks like this weaken fixes the two leaking callbacks.