diff --git a/composer.json b/composer.json index 8a2a994..0a838af 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ ], "require": { "php": ">=5.3", - "clue/socks-react": "^1.4", + "clue/socks-react": "^1.5", "react/child-process": "^0.6", "react/event-loop": "^1.2", "react/promise": "^3 || ^2.1 || ^1.2.1", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b8cf10d..e1ce165 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -17,4 +17,7 @@ ./src/ + + + diff --git a/phpunit.xml.legacy b/phpunit.xml.legacy index 756167d..0cdf7cc 100644 --- a/phpunit.xml.legacy +++ b/phpunit.xml.legacy @@ -15,4 +15,7 @@ ./src/ + + + diff --git a/src/Io/CompositeConnection.php b/src/Io/CompositeConnection.php index adb728a..e16815b 100644 --- a/src/Io/CompositeConnection.php +++ b/src/Io/CompositeConnection.php @@ -73,7 +73,6 @@ public function close() return; } - $this->remote = null; $this->closed = true; $this->read->close(); $this->write->close();