mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fixed SF# 2776721: Poco::Timer::reset() behaviour
This commit is contained in:
parent
e1cda6be1c
commit
20200eaca8
@ -171,6 +171,7 @@ void Timer::run()
|
||||
if (_wakeUp.tryWait(sleep))
|
||||
{
|
||||
FastMutex::ScopedLock lock(_mutex);
|
||||
_nextInvocation.update();
|
||||
interval = _periodicInterval;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user