MCPcopy Create free account
hub / github.com/Icinga/icinga2 / DisconnectInternal

Method DisconnectInternal

lib/perfdata/graphitewriter.cpp:244–252  ·  view source on GitHub ↗

* Disconnect the stream. * * Called outside the WQ. */

Source from the content-addressed store, hash-verified

242 * Called outside the WQ.
243 */
244void GraphiteWriter::DisconnectInternal()
245{
246 if (!GetConnected())
247 return;
248
249 m_Stream->close();
250
251 SetConnected(false);
252}
253
254/**
255 * Check result event handler, checks whether feature is not paused in HA setups.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected