MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / freeAllClients

Function freeAllClients

src/keydb-diagnostic-tool.cpp:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290static void freeAllClients(void) {
291 listNode *ln = config.clients->head, *next;
292
293 while(ln) {
294 next = ln->next;
295 freeClient((client)ln->value);
296 ln = next;
297 }
298}
299
300static void resetClient(client c) {
301 aeEventLoop *el = CLIENT_GET_EVENTLOOP(c);

Callers 1

mainFunction · 0.70

Calls 1

freeClientFunction · 0.70

Tested by

no test coverage detected