From b8e540a119c5dd464b68d35b244d330b1ae86946 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 17 Aug 2021 21:23:21 +1000 Subject: No more double cleanup(). It's already set to run on exit. --- src/sledjchisl/sledjchisl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 21e69f4..9530844 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -7402,7 +7402,6 @@ void account_html(char *file, reqData *Rd, HTMLfile *thisFile) static void cleanup(void) { -// TODO - not sure why, but this gets called twice on quitting sometimes. C("Caught signal, or quitting, cleaning up."); char *cmd = xmprintf("%s/sledjchisl.socket", scRun); @@ -8570,6 +8569,4 @@ finished: puts("This is the end my friend."); fflush(stdout); - - cleanup(); } -- cgit v1.1