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:35:12 +0100 |
commit | fbc487d7d77187832014f8d5104c75072bee4dd2 (patch) | |
tree | 944fa5e4fe91a0be30e0fd04b6dda01ba6cbfe26 /system/libraries/Session | |
parent | 459b12582e45eeb045cd2f4143064c30859bf936 (diff) | |
parent | 9a15344bc610b2c6a3a1a0a0b73db2fe0eba987a (diff) |
Merge pull request #4491 from roastduck/develop
[ci skip] Clean current lock key on close() in redis session driver
Diffstat (limited to 'system/libraries/Session')
-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 dc4328644..c0c20a7ca 100644 --- a/system/libraries/Session/drivers/Session_redis_driver.php +++ b/system/libraries/Session/drivers/Session_redis_driver.php @@ -277,7 +277,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; |