Code

Unload all plugins when shutting down sysdbd.
[sysdb.git] / src / tools / sysdbd / main.c
index 3e90439f0a8d1f46cf7db892d6d5e4c31ee735e3..25f6499feecc4817903a4ccf13105c43d81ad08c 100644 (file)
@@ -396,6 +396,7 @@ main(int argc, char **argv)
        sdb_log(SDB_LOG_INFO, "Shutting down SysDB daemon "SDB_VERSION_STRING
                        SDB_VERSION_EXTRA" (pid %i)", (int)getpid());
        sdb_plugin_shutdown_all();
+       sdb_plugin_unregister_all();
 
        ERR_free_strings();
        return status;