1
0
Fork 0

Merge branch 'master' into client-responses

pull/128/head
Felix Becker 2016-10-31 11:21:48 +01:00 committed by GitHub
commit 2cd54de535
1 changed files with 3 additions and 6 deletions

View File

@ -23,13 +23,10 @@ class ProtocolStreamWriterTest extends TestCase
$msgString = (string)$msg;
$promise = $writer->write($msg);
$promise->then(function () {
Loop\stop();
}, function () {
Loop\stop();
});
Loop\run();
Loop\tick();
$promise->wait();
fclose($writeHandle);