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.
1 parent 5a34797 commit bdcee6fCopy full SHA for bdcee6f
src/Illuminate/Console/CacheCommandMutex.php
@@ -73,7 +73,7 @@ public function exists($command)
73
if ($this->shouldUseLocks($store->getStore())) {
74
$lock = $store->getStore()->lock($this->commandMutexName($command));
75
76
- return tap(! $lock->get(), function ($exists) {
+ return tap(! $lock->get(), function ($exists) use ($lock) {
77
if ($exists) {
78
$lock->release();
79
}
0 commit comments