From 4cb7d90e49a1694434435fddeed7a5ce18de3734 Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Mon, 12 Dec 2016 03:12:50 +0300 Subject: [PATCH] Prevent crash on exited thread --- easy_profiler_core/profile_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_profiler_core/profile_manager.cpp b/easy_profiler_core/profile_manager.cpp index b6109b8..f3f76af 100644 --- a/easy_profiler_core/profile_manager.cpp +++ b/easy_profiler_core/profile_manager.cpp @@ -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