From c96a8c3a18f9cb131ad9765aeaa80d8ff56d0cb0 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Fri, 23 Sep 2016 23:51:49 +0300 Subject: [PATCH] (profiler_core) Added "ThreadFinished" event --- src/profile_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profile_manager.cpp b/src/profile_manager.cpp index bd59390..42a4337 100644 --- a/src/profile_manager.cpp +++ b/src/profile_manager.cpp @@ -262,7 +262,7 @@ ThreadGuard::~ThreadGuard() { if (m_id != 0 && THREAD_STORAGE != nullptr && THREAD_STORAGE->id == m_id) { - //printf("%s Thread expired!\n", THREAD_STORAGE->name.c_str()); + EASY_EVENT("ThreadFinished", profiler::colors::Dark); THREAD_STORAGE->expired.store(true, std::memory_order_release); THREAD_STORAGE = nullptr; }