diff options
author | Andrey Andreev <narf@devilix.net> | 2016-02-29 16:35:12 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-02-29 16:36:03 +0100 |
commit | f06858c3df09fd33c80f9fc415b6c63b3430869c (patch) | |
tree | 2af9c959ff5593fc95d917aef0d84bc0b0ff2f65 /system | |
parent | 99c17e516438843a69496046e5bc0ea627c3b0f8 (diff) |
Merge pull request #4491 from roastduck/develop
[ci skip] Clean current lock key on close() in redis session driver
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Session/drivers/Session_redis_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php index ad95309da..7b7951f5d 100644 --- a/system/libraries/Session/drivers/Session_redis_driver.php +++ b/system/libraries/Session/drivers/Session_redis_driver.php @@ -254,7 +254,7 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle try { if ($this->_redis->ping() === '+PONG') { - isset($this->_lock_key) && $this->_redis->delete($this->_lock_key); + $this->_release_lock(); if ($this->_redis->close() === $this->_failure) { return $this->_failure; |