Commit b6ca7918 authored by Dominik Hebeler's avatar Dominik Hebeler

Fixed Bug where Metager tried to close a non existent Socket

parent 7837ffa6
......@@ -272,7 +272,8 @@ abstract class Searchengine
public function shutdown()
{
fclose($this->fp);
if( $this->fp )
fclose($this->fp);
Redis::del($this->host . "." . $this->socketNumber);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment