mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix Windows ProtectedCall handler to use ExitProcess
This commit is contained in:
@@ -29,7 +29,11 @@ RippleMain::~RippleMain()
|
||||
|
||||
void RippleMain::onException (ProtectedCall::Exception const& e) const
|
||||
{
|
||||
#if BEAST_MSVC
|
||||
ExitProcess(0);
|
||||
#else
|
||||
std::_Exit(EXIT_FAILURE);
|
||||
#endif
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user