commit | 7cc7b08a40c1eb5b231cafc8c663312a7f8f19e1 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue Nov 10 16:06:54 2015 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Nov 10 16:13:47 2015 +0000 |
tree | 7364909443b9d16380511bfd05bed1b253457b1d | |
parent | 68ce6dc10afa6e1fa1b8d6552b0655da8ac99ff8 [diff] |
Make sure callback is only called once Because we set it already in the future, it was called already when we fetched the contents of the future, because it looked like we overrided the callback. Instead, don't do callbacks when calling the future, and save the callback in a separate field. Bug: 25568693 Change-Id: I8b7fd4248a2336470f8b7e12b64b0577dee96f6f