Open xxDark opened 1 month ago
Hello. code in question: https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/core/src/main/c/common_tools.h#L60-L82 If for whatever reason initialization of ThreadLocalUtil here fails, VM will silently crash. That was hard to track down. Is there any chance error checking could be added here? Similarly, https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/core/src/main/c/org_lwjgl_system_ThreadLocalUtil.c#L12-L14 Thanks!
Question
Hello. code in question: https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/core/src/main/c/common_tools.h#L60-L82 If for whatever reason initialization of ThreadLocalUtil here fails, VM will silently crash. That was hard to track down. Is there any chance error checking could be added here? Similarly, https://github.com/LWJGL/lwjgl3/blob/master/modules/lwjgl/core/src/main/c/org_lwjgl_system_ThreadLocalUtil.c#L12-L14 Thanks!