Skip to content

Commit

Permalink
Changing back from stream_socket_shutdown to fclose to fix UT in HHVM
Browse files Browse the repository at this point in the history
  • Loading branch information
mariano committed May 14, 2015
1 parent 4666a73 commit 86abcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connection/Socket.php
Expand Up @@ -54,7 +54,7 @@ public function disconnect()
if (!$this->isConnected()) {
return;
}
stream_socket_shutdown($this->socket, STREAM_SHUT_RDWR);
fclose($this->socket);
$this->socket = null;
}

Expand Down

0 comments on commit 86abcf6

Please sign in to comment.