* Disconnect the stream. * * Called outside the WQ. */
| 242 | * Called outside the WQ. |
| 243 | */ |
| 244 | void 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. |