Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 820c4bd commit ebac641Copy full SHA for ebac641
1 file changed
src/Engine/Protocols/Http/Response.php
@@ -150,7 +150,10 @@ public function destroy()
150
{
151
$this->_connection->httpRequest->destroy();
152
}
153
- $this->_connection->httpResponse = $this->_connection->httpRequest = null;
+ if(!empty($this->_connection))
154
+ {
155
+ $this->_connection->httpResponse = $this->_connection->httpRequest = null;
156
+ }
157
$this->_connection = null;
158
$this->writable = false;
159
0 commit comments