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
hiredis
Commits
ad245604
Commit
ad245604
authored
Nov 01, 2010
by
Pieter Noordhuis
Browse files
Process callbacks after reading
parent
c4325663
Changes
1
Hide whitespace changes
Inline
Side-by-side
async.c
View file @
ad245604
...
@@ -158,6 +158,7 @@ void redisAsyncHandleRead(redisAsyncContext *ac) {
...
@@ -158,6 +158,7 @@ void redisAsyncHandleRead(redisAsyncContext *ac) {
}
else
{
}
else
{
/* Always re-schedule reads */
/* Always re-schedule reads */
if
(
ac
->
evAddRead
)
ac
->
evAddRead
(
ac
->
data
);
if
(
ac
->
evAddRead
)
ac
->
evAddRead
(
ac
->
data
);
redisProcessCallbacks
(
ac
);
}
}
}
}
...
...
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