Commit b6ca7918 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Fixed Bug where Metager tried to close a non existent Socket

parent 7837ffa6
...@@ -272,7 +272,8 @@ abstract class Searchengine ...@@ -272,7 +272,8 @@ abstract class Searchengine
public function shutdown() public function shutdown()
{ {
fclose($this->fp); if( $this->fp )
fclose($this->fp);
Redis::del($this->host . "." . $this->socketNumber); Redis::del($this->host . "." . $this->socketNumber);
} }
......
Supports Markdown
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