diff options
Diffstat (limited to 'daemon/main.c')
-rw-r--r-- | daemon/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c index eab53dea6f..346486a84f 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -50,6 +50,7 @@ void netdata_cleanup_and_exit(int ret) { rrdeng_exit(&multidb_ctx); #endif } + sql_close_database(); // unlink the pid if(pidfile[0]) { |