fixed SF# 2776721: Poco::Timer::reset() behaviour

This commit is contained in:
Guenter Obiltschnig 2009-04-21 05:00:51 +00:00
parent e1cda6be1c
commit 20200eaca8

View File

@ -171,6 +171,7 @@ void Timer::run()
if (_wakeUp.tryWait(sleep))
{
FastMutex::ScopedLock lock(_mutex);
_nextInvocation.update();
interval = _periodicInterval;
}
else