We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87d1399 + b3b070a commit e032661Copy full SHA for e032661
1 file changed
tests/FirstTest.php
@@ -115,7 +115,9 @@ public function testCancelPendingStreamWillReject()
115
116
public function testShouldResolveWithoutCreatingGarbageCyclesAfterDataThenClose()
117
{
118
- \gc_collect_cycles();
+ while (gc_collect_cycles()) {
119
+ // collect all garbage cycles
120
+ }
121
122
$stream = new ThroughStream();
123
@@ -130,7 +132,10 @@ public function testShouldResolveWithoutCreatingGarbageCyclesAfterDataThenClose(
130
132
131
133
public function testCancelPendingStreamWillRejectWithoutCreatingGarbageCycles()
134
135
136
137
138
+
139
140
141
$promise = Stream\first($stream);
0 commit comments