1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00

Remove unnecessary temp variable

This commit is contained in:
Aaron Piotrowski 2017-01-06 10:21:58 -06:00
parent fbdc611e44
commit e169bb649c

View File

@ -91,9 +91,8 @@ abstract class Loop extends Driver {
$this->deferQueue = \array_merge($this->deferQueue, $this->nextTickQueue);
$this->nextTickQueue = [];
$queue = $this->enableQueue;
$this->activate($this->enableQueue);
$this->enableQueue = [];
$this->activate($queue);
try {
foreach ($this->deferQueue as $watcher) {