Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

[2.x] Force release the lock #696

Merged
merged 1 commit into from
Feb 24, 2021
Merged

Conversation

simonbuehler
Copy link
Contributor

hi,

while debugging the stale connections issue i found this bug:

is never successfull as

return new ArrayLock($this->store, static::$lockName, 0);

always returns a new random owner and release won't allow this, so line 454 needs the fix

@rennokki
Copy link
Collaborator

Makes sense. That's strict for v2?

@rennokki rennokki merged commit 980dc19 into beyondcode:master Feb 24, 2021
@rennokki rennokki changed the title fix never releasing lock [2.x] Force release the lock Feb 24, 2021
@rennokki
Copy link
Collaborator

Tagged 2.0.0-beta.33

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants