mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Don't leak exceptions from ExceptionCatchingApplication::notify()
This commit is contained in:
parent
04ef699841
commit
5ec3579424
@ -32,13 +32,12 @@ public:
|
|||||||
catch (std::exception const& e)
|
catch (std::exception const& e)
|
||||||
{
|
{
|
||||||
LOG_FATAL (e.what ());
|
LOG_FATAL (e.what ());
|
||||||
throw;
|
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
LOG_FATAL ("Unexpected fatal error");
|
LOG_FATAL ("Unexpected fatal error");
|
||||||
throw;
|
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user