Change-Id: I71631de557b5654e3915cee05c34cb6d21088401
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
engine = None
+ http_thread = None
+ http_thread_admin = None
+
try:
#Load configuration file
r, config_dic = load_configuration(config_file)
logger.info('Exiting openvimd')
if engine:
engine.stop_service()
+ if http_thread:
+ http_thread.join(1)
+ if http_thread_admin:
+ http_thread_admin.join(1)
logger.debug( "bye!")
exit()
thread.insert_task("exit")
for thread in threads.values():
thread.join()
- # http_thread.join()
- # if http_thread_admin is not None:
- # http_thread_admin.join()
def get_ports(self, columns=None, filter={}, limit=None):