mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-19 21:16:51 +02:00
#538 prevent destructors from throwing exceptions
This commit is contained in:
@@ -131,7 +131,13 @@ MultipartIOS::MultipartIOS(std::istream& istr, const std::string& boundary):
|
||||
|
||||
MultipartIOS::~MultipartIOS()
|
||||
{
|
||||
_buf.sync();
|
||||
try
|
||||
{
|
||||
_buf.sync();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user