return;
}
+ REF_RETAIN (ctx);
event_del (&sp_ud->timeout);
ctx->cmds_pending --;
redisAsyncFree (ac);
}
}
+
+ REF_RELEASE (ctx);
}
static void
redisAsyncContext *ac;
ctx = sp_ud->ctx;
+
+ REF_RETAIN (ctx);
msg_info ("timeout while querying redis server");
lua_redis_push_error ("timeout while connecting the server", ctx, sp_ud, FALSE);
* This will call all callbacks pending so the entire context
* will be destructed
*/
+ sp_ud->c->terminated = 1;
redisAsyncFree (ac);
}
+ REF_RELEASE (ctx);
}