mirror of https://github.com/Icinga/icinga2.git
Add missing Start call for base class in CheckResultReader::Start
fixes #10349
This commit is contained in:
parent
591c67cabb
commit
445bb07f77
|
@ -55,6 +55,8 @@ void CheckResultReader::StatsFunc(const Dictionary::Ptr& status, const Array::Pt
|
||||||
*/
|
*/
|
||||||
void CheckResultReader::Start(void)
|
void CheckResultReader::Start(void)
|
||||||
{
|
{
|
||||||
|
ObjectImpl<CheckResultReader>::Start();
|
||||||
|
|
||||||
m_ReadTimer = new Timer();
|
m_ReadTimer = new Timer();
|
||||||
m_ReadTimer->OnTimerExpired.connect(boost::bind(&CheckResultReader::ReadTimerHandler, this));
|
m_ReadTimer->OnTimerExpired.connect(boost::bind(&CheckResultReader::ReadTimerHandler, this));
|
||||||
m_ReadTimer->SetInterval(5);
|
m_ReadTimer->SetInterval(5);
|
||||||
|
|
Loading…
Reference in New Issue