diff --git a/library/Icinga/Protocol/Livestatus/Connection.php b/library/Icinga/Protocol/Livestatus/Connection.php index d54c9d991..b2340eeec 100644 --- a/library/Icinga/Protocol/Livestatus/Connection.php +++ b/library/Icinga/Protocol/Livestatus/Connection.php @@ -431,6 +431,9 @@ if ($col > $size - 1) return $res; return $this; } + /** + * Try to cleanly close the socket on shutdown + */ public function __destruct() { $this->disconnect();