mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
091d79ea4a
commit
88e1aadbf2
@ -407,7 +407,8 @@ void ApiListener::ApiTimerHandler(void)
|
||||
if (endpoint->GetConnecting())
|
||||
continue;
|
||||
|
||||
Utility::QueueAsyncCallback(boost::bind(&ApiListener::AddConnection, this, endpoint));
|
||||
boost::thread thread(boost::bind(&ApiListener::AddConnection, this, endpoint));
|
||||
thread.detach();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user