MCPcopy Create free account
hub / github.com/F-Stack/f-stack / redisAeCleanup

Function redisAeCleanup

app/redis-6.2.6/src/sentinel.c:346–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346static void redisAeCleanup(void *privdata) {
347 redisAeEvents *e = (redisAeEvents*)privdata;
348 redisAeDelRead(privdata);
349 redisAeDelWrite(privdata);
350 zfree(e);
351}
352
353static int redisAeAttach(aeEventLoop *loop, redisAsyncContext *ac) {
354 redisContext *c = &(ac->c);

Callers

nothing calls this directly

Calls 3

redisAeDelReadFunction · 0.70
redisAeDelWriteFunction · 0.70
zfreeFunction · 0.70

Tested by

no test coverage detected