Analytics: Set proper thread name.
This commit is contained in:
parent
afb0beb9ab
commit
7389f0f55e
|
@ -10,6 +10,7 @@
|
|||
#include "Common/Analytics.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/StringUtil.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
|
@ -147,6 +148,7 @@ void AnalyticsReporter::Send(AnalyticsReportBuilder&& report)
|
|||
|
||||
void AnalyticsReporter::ThreadProc()
|
||||
{
|
||||
Common::SetCurrentThreadName("Analytics");
|
||||
while (true)
|
||||
{
|
||||
m_reporter_event.Wait();
|
||||
|
|
Loading…
Reference in New Issue