diff options
author | onefang | 2021-08-17 21:23:21 +1000 |
---|---|---|
committer | onefang | 2021-08-17 21:23:21 +1000 |
commit | b8e540a119c5dd464b68d35b244d330b1ae86946 (patch) | |
tree | d3c0a6aa757bde0c39ae5b97680ef07f2d80c4a5 | |
parent | Add verbose mode. (diff) | |
download | opensim-SC-b8e540a119c5dd464b68d35b244d330b1ae86946.zip opensim-SC-b8e540a119c5dd464b68d35b244d330b1ae86946.tar.gz opensim-SC-b8e540a119c5dd464b68d35b244d330b1ae86946.tar.bz2 opensim-SC-b8e540a119c5dd464b68d35b244d330b1ae86946.tar.xz |
No more double cleanup().
It's already set to run on exit.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 3 |
1 files changed, 0 insertions, 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) | |||
7402 | 7402 | ||
7403 | static void cleanup(void) | 7403 | static void cleanup(void) |
7404 | { | 7404 | { |
7405 | // TODO - not sure why, but this gets called twice on quitting sometimes. | ||
7406 | C("Caught signal, or quitting, cleaning up."); | 7405 | C("Caught signal, or quitting, cleaning up."); |
7407 | 7406 | ||
7408 | char *cmd = xmprintf("%s/sledjchisl.socket", scRun); | 7407 | char *cmd = xmprintf("%s/sledjchisl.socket", scRun); |
@@ -8570,6 +8569,4 @@ finished: | |||
8570 | 8569 | ||
8571 | puts("This is the end my friend."); | 8570 | puts("This is the end my friend."); |
8572 | fflush(stdout); | 8571 | fflush(stdout); |
8573 | |||
8574 | cleanup(); | ||
8575 | } | 8572 | } |