0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +08:00

Prevent crash on exited thread

This commit is contained in:
Sergey Yagovtsev 2016-12-12 03:12:50 +03:00
parent 9d3824fb50
commit 4cb7d90e49

View File

@ -686,7 +686,7 @@ bool ProfileManager::checkThreadExpired(ThreadStorage& _registeredThread)
return false;
#else
return pthread_kill(_registeredThread.pthread_id, 0) != 0;
return false;//pthread_kill(_registeredThread.pthread_id, 0) != 0;
#endif