Livestatus\Connection: one more comment

This commit is contained in:
Thomas Gelf 2014-11-16 18:43:11 +01:00
parent aaec1b84bf
commit b6464c5d83
1 changed files with 3 additions and 0 deletions

View File

@ -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();