Compare commits
2 Commits
4f7e8ae39f
...
adbb4fd0d1
Author | SHA1 | Date | |
---|---|---|---|
adbb4fd0d1 | |||
45845fa31b |
@ -6,11 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(MIJIN_COROUTINE_ENABLE_DEBUG_INFO)
|
#if !defined(MIJIN_COROUTINE_ENABLE_DEBUG_INFO)
|
||||||
#if defined(MIJIN_DEBUG)
|
# 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?
|
||||||
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 1
|
|
||||||
#else
|
|
||||||
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 0
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <any>
|
#include <any>
|
||||||
|
@ -54,7 +54,7 @@ void backtraceErrorCallback(void* data, const char* msg, int /* errnum */)
|
|||||||
btData.error = msg;
|
btData.error = msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
backtrace_state* gBacktraceState = nullptr;
|
thread_local backtrace_state* gBacktraceState = nullptr;
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user