Skip to content

Commit bdcee6f

Browse files
committed
wip
1 parent 5a34797 commit bdcee6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Console/CacheCommandMutex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function exists($command)
7373
if ($this->shouldUseLocks($store->getStore())) {
7474
$lock = $store->getStore()->lock($this->commandMutexName($command));
7575

76-
return tap(! $lock->get(), function ($exists) {
76+
return tap(! $lock->get(), function ($exists) use ($lock) {
7777
if ($exists) {
7878
$lock->release();
7979
}

0 commit comments

Comments
 (0)