1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Development: Fix finalizaing ACL Manager thread

This commit is contained in:
Ruben S. Montero 2019-02-20 11:58:50 +01:00
parent 2f27ae1183
commit ec43d184d1

View File

@ -1178,8 +1178,10 @@ void Nebula::start(bool bootstrap_only)
im->finalize();
hm->finalize();
imagem->finalize();
marketm->finalize();
ipamm->finalize();
frm->finalize();
@ -1199,14 +1201,20 @@ void Nebula::start(bool bootstrap_only)
raftm->finalize();
aclm->finalize();
rm->finalize();
authm->finalize();
pthread_join(rm->get_thread_id(),0);
pthread_join(authm->get_thread_id(),0);
pthread_join(aclm->get_thread_id(),0);
pthread_join(raftm->get_thread_id(),0);
if(is_federation_slave())
{
pthread_join(aclm->get_thread_id(),0);
}
//XML Library
xmlCleanupParser();