From 10ef44e77a14200c40102e990f4f22fdaa346ded Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sun, 18 Feb 2018 15:12:34 +0100 Subject: [PATCH] Disable the special Windows handling too --- indra/llcommon/llcoros.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/indra/llcommon/llcoros.cpp b/indra/llcommon/llcoros.cpp index 9751a3ebd3..8768d1d90c 100644 --- a/indra/llcommon/llcoros.cpp +++ b/indra/llcommon/llcoros.cpp @@ -327,11 +327,13 @@ void LLCoros::toplevel(coro::self& self, CoroData* data, const callable_t& calla // run the code the caller actually wants in the coroutine try { -#if LL_WINDOWS - winlevel(callable); -#else +// Disable for more meaningful callstacks +//#if LL_WINDOWS +// winlevel(callable); +//#else +// callable(); -#endif +//#endif // Disable for more meaningful callstacks } catch (const LLContinueError&) { @@ -345,7 +347,7 @@ void LLCoros::toplevel(coro::self& self, CoroData* data, const callable_t& calla //{ // // Any OTHER kind of uncaught exception will cause the viewer to // // crash, hopefully informatively. - // CRASH_ON_UNHANDLED_EXCEPTION(STRINGIZE("coroutine " << data->mName)); + // CRASH_ON_UNHANDLED_EXCEPTION(STRINGIZE("coroutine " << data->mName)); //} // // This cleanup isn't perfectly symmetrical with the way we initially set