Skip to content
Snippets Groups Projects
Commit 975def8d authored by Moe Jette's avatar Moe Jette
Browse files

remove redundant calls to slurm_acct_storage_fini()

parent 05db5b27
No related branches found
No related tags found
No related merge requests found
...@@ -481,7 +481,6 @@ int main(int argc, char *argv[]) ...@@ -481,7 +481,6 @@ int main(int argc, char *argv[])
/* Plugins are needed to purge job/node data structures, /* Plugins are needed to purge job/node data structures,
* unplug after other data structures are purged */ * unplug after other data structures are purged */
g_slurm_jobcomp_fini(); g_slurm_jobcomp_fini();
slurm_acct_storage_fini();
slurm_jobacct_gather_fini(); slurm_jobacct_gather_fini();
slurm_sched_fini(); slurm_sched_fini();
slurm_select_fini(); slurm_select_fini();
...@@ -496,7 +495,6 @@ int main(int argc, char *argv[]) ...@@ -496,7 +495,6 @@ int main(int argc, char *argv[])
slurm_api_clear_config(); slurm_api_clear_config();
sleep(2); sleep(2);
#else #else
slurm_acct_storage_fini();
/* Give REQUEST_SHUTDOWN a chance to get propagated, /* Give REQUEST_SHUTDOWN a chance to get propagated,
* up to 3 seconds. */ * up to 3 seconds. */
for (i=0; i<3; i++) { for (i=0; i<3; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment