Skip to content

Commit

Permalink
fixup! Reopen sessions if we need to write to them instead of keeping…
Browse files Browse the repository at this point in the history
… them open
  • Loading branch information
juliusknorr committed Aug 16, 2022
1 parent 42e83cb commit 56a0166
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/private/Session/Memory.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ public function getId(): string {
* Helper function for PHPUnit execution - don't use in non-test code
*/
public function reopen(): bool {
$reopened = $this->sessionClosed;
$this->sessionClosed = false;
return $reopened;
}

/**
Expand Down

0 comments on commit 56a0166

Please sign in to comment.