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:
parent
fbdc611e44
commit
e169bb649c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user