mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-22 16:03:31 +00:00
Fixes and enhancements from my MCPE repository. (https://github.com/mschiller890/mcpe64)
This commit is contained in:
@@ -64,7 +64,8 @@
|
||||
TerminateThread(m_threadHandle, 0);
|
||||
#endif
|
||||
#if defined(LINUX) || defined(ANDROID) || defined(__APPLE__) || defined(POSIX)
|
||||
pthread_join(m_thread, NULL);
|
||||
// Thread was created detached; pthread_join on a detached thread is undefined
|
||||
// and causes SIGABRT when the pthread_t is no longer valid.
|
||||
pthread_attr_destroy(&m_attributes);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user