mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
#538 prevent destructors from throwing exceptions
This commit is contained in:
@@ -104,7 +104,14 @@ struct SQLite_API SQLiteConnectorRegistrator
|
||||
~SQLiteConnectorRegistrator()
|
||||
/// Calls Poco::Data::SQLite::unregisterConnector();
|
||||
{
|
||||
Poco::Data::SQLite::Connector::unregisterConnector();
|
||||
try
|
||||
{
|
||||
Poco::Data::SQLite::Connector::unregisterConnector();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
poco_unexpected();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user