1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

feature #192: free log resources in NebulaLog and base PoolTest class

This commit is contained in:
Ruben S. Montero 2010-04-22 23:27:39 +02:00
parent 4fc726ca50
commit 238644743d
2 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,11 @@ public:
}
};
static void finalize_log_system()
{
delete logger;
}
static void log(
const char * module,
const Log::MessageType type,

View File

@ -362,6 +362,8 @@ public:
if (!log_flag)
remove("test.log");
NebulaLog::finalize_log_system();
return 0;
}
};