Skip to content

Commit

Permalink
Revert "Remove destructor from session handler"
Browse files Browse the repository at this point in the history
This reverts commit ed56780
  • Loading branch information
curry684 committed Apr 23, 2018
1 parent ed56780 commit 59f1630
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Session/Storage/Handler/RedisSessionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,12 @@ public function shutdown()
{
$this->close();
}

/**
* Destructor.
*/
public function __destruct()
{
$this->shutdown();
}
}

0 comments on commit 59f1630

Please sign in to comment.