fix assertion failure, probably due to some freak accident of missaved

timestamp. Whatever.
This commit is contained in:
Eric House 2015-07-01 05:52:02 -07:00
parent 8f794fbd32
commit b451b936e7

View file

@ -201,6 +201,8 @@ public class ExpiringDelegate {
m_pct = (int)((100 * passed) / INTERVAL_SECS);
if ( m_pct > 100 ) {
m_pct = 100;
} else if ( m_pct < 0 ) {
m_pct = 0;
} else if ( null != m_handler ) {
long onePct = INTERVAL_SECS / 100;
long lastStart = m_startSecs + (onePct * m_pct);