This commit is contained in:
2021-06-04 18:33:42 +08:00
parent 10805c1022
commit 558008ad08
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class Channel extends Component
if ($channel->isEmpty()) {
return call_user_func($closure);
}
return $channel->dequeue();
return clone $channel->dequeue();
}