From 7d8e35abc11f88d5ef9f452eec236621d3be7dd8 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sat, 16 Jan 2016 16:00:05 -0600 Subject: [PATCH] reenable some error handling code; if this causes problems we should prboably find the root of the problem... --- .../sharedFoundation/src/linux/SetupSharedFoundation.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp b/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp index 0a2fc1ec..07dec783 100755 --- a/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp +++ b/engine/shared/library/sharedFoundation/src/linux/SetupSharedFoundation.cpp @@ -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 } }