commit | 42c33a4560ef51ac503cb5d359fb99b5918dfb6f | [log] [tgz] |
---|---|---|
author | Samuel Tan <samueltan@chromium.org> | Tue Jul 14 17:52:57 2015 -0700 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Wed Jul 15 23:15:49 2015 +0000 |
tree | a0b9e1d725bf1ae5b4fc7f68d750d41fb5b7d929 | |
parent | 8337598abdc5358afe2be99e6aa4bf5dc68536c6 [diff] |
shill: do not report partial results of IcmpSession in Stop() Do not call |result_callback_| with partial results of the IcmpSession if Stop() is called (either by the user or on destruction of the object). This allows IcmpSession objects to be cleaned up easily without worrying about handling callback invocations. BUG=None. TEST=Compile shill and run unit tests. Change-Id: I5d797f4001f1e932b1d34318d8ebcb056fa154c1 Reviewed-on: https://chromium-review.googlesource.com/285672 Tested-by: Samuel Tan <samueltan@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Samuel Tan <samueltan@chromium.org>