Skip to content

Commit

Permalink
Remove destructor from session handler
Browse files Browse the repository at this point in the history
Reported to cause performance issues, refs #417, reverts #412
  • Loading branch information
curry684 committed Apr 19, 2018
1 parent ae3a607 commit ed56780
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/composer.phar
/vendor/
/bin/
/build/
8 changes: 0 additions & 8 deletions Session/Storage/Handler/RedisSessionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,4 @@ public function shutdown()
{
$this->close();
}

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

0 comments on commit ed56780

Please sign in to comment.