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

Function aeDeleteEventLoop

app/redis-6.2.6/src/ae.c:143–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void aeDeleteEventLoop(aeEventLoop *eventLoop) {
144 aeApiFree(eventLoop);
145 zfree(eventLoop->events);
146 zfree(eventLoop->fired);
147
148 /* Free the time events list. */
149 aeTimeEvent *next_te, *te = eventLoop->timeEventHead;
150 while (te) {
151 next_te = te->next;
152 zfree(te);
153 te = next_te;
154 }
155 zfree(eventLoop);
156}
157
158void aeStop(aeEventLoop *eventLoop) {
159 eventLoop->stop = 1;

Callers 2

mainFunction · 0.85
freeBenchmarkThreadFunction · 0.85

Calls 2

aeApiFreeFunction · 0.70
zfreeFunction · 0.70

Tested by

no test coverage detected