commit | 03f4e14ec612d53b5e2b987555b24afcbbe319d1 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Mon Mar 29 11:52:08 2010 -0700 |
committer | Andreas Huber <andih@google.com> | Mon Mar 29 12:01:25 2010 -0700 |
tree | 4d488945c8b209576af68e8375552939c455c38e | |
parent | f8ed70a20f8b006539af98c8ad45be9561665f82 [diff] |
Fix a bug where the TimedEventQueue mistakenly accesses a bogus event if the only event in the queue has been cancelled while we're waiting for its scheduled time. Avoids potential int64_t overflow when converting from us to ns. Change-Id: I50e8976ce8d0ecc47ee0eb497296930877ce306a related-to-bug: 2549465