mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
- fixed GH #230: Poco::Timer problem
- updated CHANGELOG and Release Notes
This commit is contained in:
@@ -164,7 +164,7 @@ void Timer::run()
|
||||
}
|
||||
while (sleep < 0);
|
||||
|
||||
if (_wakeUp.tryWait(sleep))
|
||||
if (_wakeUp.tryWait(sleep > _periodicInterval ? _periodicInterval : sleep))
|
||||
{
|
||||
Poco::FastMutex::ScopedLock lock(_mutex);
|
||||
_nextInvocation.update();
|
||||
|
||||
Reference in New Issue
Block a user