mirror of https://github.com/Icinga/icinga2.git
HttpServerConnection: Drop superfluous `CpuBoundWork` usage
This commit is contained in:
parent
32531fe909
commit
eb813cfb99
|
@ -102,8 +102,6 @@ void HttpServerConnection::Disconnect()
|
||||||
auto listener (ApiListener::GetInstance());
|
auto listener (ApiListener::GetInstance());
|
||||||
|
|
||||||
if (listener) {
|
if (listener) {
|
||||||
CpuBoundWork removeHttpClient (yc);
|
|
||||||
|
|
||||||
listener->RemoveHttpClient(this);
|
listener->RemoveHttpClient(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue