mirror of
https://github.com/predis/predis.git
synced 2026-08-24 21:29:35 +00:00
Change how network resources are handled internally and also exposed to subclasses.
This commit is contained in:
@@ -98,6 +98,7 @@ class StreamConnection extends ConnectionBase {
|
||||
public function disconnect() {
|
||||
if ($this->isConnected()) {
|
||||
fclose($this->getResource());
|
||||
parent::disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user