Skip to content

Commit

Permalink
Require fresh read after unlockAll()
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Aug 20, 2023
1 parent 79717da commit 6986e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function unlockAll(): void

$this->lock?->release();
$this->lock = null;
$this->status &= ~self::STATUS_LOCKED;
$this->status = 0;

$this->lockCount = 0;
});
Expand Down

0 comments on commit 6986e43

Please sign in to comment.