mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 05:29:41 +01:00
#538 prevent destructors from throwing exceptions
This commit is contained in:
@@ -69,7 +69,14 @@ SSLManager::SSLManager()
|
||||
|
||||
SSLManager::~SSLManager()
|
||||
{
|
||||
shutdown();
|
||||
try
|
||||
{
|
||||
shutdown();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
poco_unexpected();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user