commit | 62141b430f4d934df712c21a32136e943d2a5d3a | [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 | f90d8de9e5512752052988a47c31c81deae89799 | |
parent | 2911e8eff79572a896b24debb11f20d179bd6f83 [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