mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
#538 prevent destructors from throwing exceptions
This commit is contained in:
@@ -444,7 +444,14 @@ public:
|
||||
}
|
||||
~AutoLoggerShutdown()
|
||||
{
|
||||
Logger::shutdown();
|
||||
try
|
||||
{
|
||||
Logger::shutdown();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
poco_unexpected();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user