Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!74Fixed Bug where Metager tried to close a non existent Socket
...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment