mirror of https://github.com/Icinga/icinga2.git
parent
6aec8ba394
commit
3c8e84e59e
|
@ -95,7 +95,7 @@ void ApiClient::SendMessageSync(const Dictionary::Ptr& message)
|
||||||
|
|
||||||
void ApiClient::Disconnect(void)
|
void ApiClient::Disconnect(void)
|
||||||
{
|
{
|
||||||
Utility::QueueAsyncCallback(boost::bind(&ApiClient::DisconnectSync, this));
|
Utility::QueueAsyncCallback(boost::bind(&ApiClient::DisconnectSync, static_cast<ApiClient::Ptr>(GetSelf())));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ApiClient::DisconnectSync(void)
|
void ApiClient::DisconnectSync(void)
|
||||||
|
|
Loading…
Reference in New Issue