Compare commits

..

No commits in common. "adbb4fd0d1f7abffd0c1eb8cc3ece74d19789b66" and "4f7e8ae39fea8b0f7fe309eaa96fded397f32b91" have entirely different histories.

2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,11 @@
#if !defined(MIJIN_COROUTINE_ENABLE_DEBUG_INFO) #if !defined(MIJIN_COROUTINE_ENABLE_DEBUG_INFO)
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 0 // Capture stack each time a coroutine is started. Warning, expensive! // TODO: maybe implement a lighter version only storing the return address? #if defined(MIJIN_DEBUG)
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 1
#else
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 0
#endif
#endif #endif
#include <any> #include <any>

View File

@ -54,7 +54,7 @@ void backtraceErrorCallback(void* data, const char* msg, int /* errnum */)
btData.error = msg; btData.error = msg;
} }
thread_local backtrace_state* gBacktraceState = nullptr; backtrace_state* gBacktraceState = nullptr;
} // namespace } // namespace
// //