mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
reenable some error handling code; if this causes problems we should prboably find the root of the problem...
This commit is contained in:
@@ -88,9 +88,7 @@ void SetupSharedFoundation::install(const Data &data)
|
||||
//
|
||||
// this is stubbed and exception handling is ignored currently
|
||||
|
||||
void SetupSharedFoundation::callbackWithExceptionHandling(
|
||||
void (*callback)(void) // Routine to call with exception handling
|
||||
)
|
||||
void SetupSharedFoundation::callbackWithExceptionHandling( void (*callback)(void) ) // Routine to call with exception handling
|
||||
{
|
||||
if (ConfigSharedFoundation::getNoExceptionHandling())
|
||||
{
|
||||
@@ -98,7 +96,6 @@ void SetupSharedFoundation::callbackWithExceptionHandling(
|
||||
}
|
||||
else
|
||||
{
|
||||
#if 0
|
||||
try
|
||||
{
|
||||
callback();
|
||||
@@ -120,9 +117,6 @@ void SetupSharedFoundation::callbackWithExceptionHandling(
|
||||
{
|
||||
FATAL(true, ("Unknown exception\n"));
|
||||
}
|
||||
#else
|
||||
callback();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user