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:
parent
4fc726ca50
commit
238644743d
@ -58,6 +58,11 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
static void finalize_log_system()
|
||||
{
|
||||
delete logger;
|
||||
}
|
||||
|
||||
static void log(
|
||||
const char * module,
|
||||
const Log::MessageType type,
|
||||
|
@ -362,6 +362,8 @@ public:
|
||||
if (!log_flag)
|
||||
remove("test.log");
|
||||
|
||||
NebulaLog::finalize_log_system();
|
||||
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user