Skip to content

Commit 9b15558

Browse files
committed
Merge pull request reactphp#196 from reactphp/fix-composite-stream
Make sure CompositeStream is closed properly, refs reactphp#195
2 parents 161db26 + 92599c4 commit 9b15558

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
### 0.3.2 (2013-xx-xx)
55

66
* Feature: [Dns] Support default port for IPv6 addresses (@clue)
7+
* Bug fix: [Stream] Make sure CompositeStream is closed properly
78

89
### 0.3.1 (2013-04-21)
910

src/React/Stream/CompositeStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function end($data = null)
7676

7777
public function close()
7878
{
79-
$this->pipeSource = true;
79+
$this->pipeSource = null;
8080

8181
$this->readable->close();
8282
$this->writable->close();

0 commit comments

Comments
 (0)