Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
9162b5f8
Commit
9162b5f8
authored
Jun 18, 2014
by
antirez
Browse files
Test: tcl client, unset deferred var on close.
parent
36bbfeef
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/support/redis.tcl
View file @
9162b5f8
...
@@ -105,6 +105,7 @@ proc ::redis::__method__close {id fd} {
...
@@ -105,6 +105,7 @@ proc ::redis::__method__close {id fd} {
catch
{
close $fd
}
catch
{
close $fd
}
catch
{
unset ::redis::fd
(
$id
)}
catch
{
unset ::redis::fd
(
$id
)}
catch
{
unset ::redis::blocking
(
$id
)}
catch
{
unset ::redis::blocking
(
$id
)}
catch
{
unset ::redis::deferred
(
$id
)}
catch
{
unset ::redis::state
(
$id
)}
catch
{
unset ::redis::state
(
$id
)}
catch
{
unset ::redis::statestack
(
$id
)}
catch
{
unset ::redis::statestack
(
$id
)}
catch
{
unset ::redis::callback
(
$id
)}
catch
{
unset ::redis::callback
(
$id
)}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment