fix TimerManager interval timebase
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m9s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m13s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m23s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m27s
linux-x64-gcc / linux-gcc (push) Failing after 1m18s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 1m30s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m46s
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m9s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m13s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m23s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m27s
linux-x64-gcc / linux-gcc (push) Failing after 1m18s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 1m30s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m46s
This commit is contained in:
parent
5606fb39e0
commit
7a17509718
@ -155,7 +155,7 @@ TimerManager::Loop()
|
||||
try {
|
||||
timer->on_expire()();
|
||||
if (timer->auto_reset()) {
|
||||
timers_.insert({when + timer->interval(), timer});
|
||||
timers_.insert({now + timer->interval(), timer});
|
||||
} else {
|
||||
delete timer;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user