diff options
| author | Alex Deymo <deymo@google.com> | 2017-02-05 07:47:37 +0000 |
|---|---|---|
| committer | Alex Deymo <deymo@google.com> | 2017-02-13 21:26:44 +0000 |
| commit | b20de692d8a258eeea7b88619e722b19edb5408f (patch) | |
| tree | e789654764a8f2fc3a1093137ea01e7d285601ed /scripts/update_payload/format_utils_unittest.py | |
| parent | 4ea2d92b2df53fa5147dc323d6d3c5b9236f83c0 (diff) | |
Cleanup the RetryTimeoutCallback().
When canceling a request or destroying the LibcurlHttpFetcher, a
RetryTimeoutCallback callback could be leaked if the fetcher was
waiting on a network retry.
This patch keeps track of the retry callback and cancels it on CleanUp,
making sure the callback is not leaked.
Bug: 34178297
Test: Added unittest to trigger this case.
Change-Id: I7016641a7f31429933779e55c77cbabb6289c3dd
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions
