Put back BEAST_CATCH_UNHANDLED_EXCEPTIONS macro, but disabled by default

This commit is contained in:
Vinnie Falco
2013-09-10 08:04:36 -07:00
parent da925ee5cc
commit 8b1b6050e7
3 changed files with 17 additions and 1 deletions

View File

@@ -74,6 +74,16 @@
//#define BEAST_COMPILER_CHECKS_SOCKET_OVERRIDES 1
#endif
/** Config: BEAST_CATCH_UNHANDLED_EXCEPTIONS
This will wrap thread entry points with an exception catching block.
A customizable hook is provided to get called when unhandled exceptions
are thrown.
@see ProtectedCall
*/
#ifndef BEAST_CATCH_UNHANDLED_EXCEPTIONS
//#define BEAST_CATCH_UNHANDLED_EXCEPTIONS 1
#endif
//------------------------------------------------------------------------------
//
// Libraries