mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
fixed SF# 2776721: Poco::Timer::reset() behaviour
This commit is contained in:
@@ -171,6 +171,7 @@ void Timer::run()
|
|||||||
if (_wakeUp.tryWait(sleep))
|
if (_wakeUp.tryWait(sleep))
|
||||||
{
|
{
|
||||||
FastMutex::ScopedLock lock(_mutex);
|
FastMutex::ScopedLock lock(_mutex);
|
||||||
|
_nextInvocation.update();
|
||||||
interval = _periodicInterval;
|
interval = _periodicInterval;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user