cc_frm_clock.cpp: ensure set of thread name

This commit is contained in:
2019-05-24 09:07:58 +02:00
parent d63ffa1b2b
commit 5bc7fab06c

View File

@@ -326,10 +326,10 @@ bool CComponentsFrmClock::startClock()
return false;
}
if (cl_timer == NULL){
if (cl_timer == NULL)
cl_timer = new CComponentsTimer(0);
cl_timer->setThreadName("frmClock");
}
cl_timer->setThreadName(getItemName());
if (cl_timer->OnTimer.empty()){
dprintf(DEBUG_INFO,"\033[33m[CComponentsFrmClock]\t[%s] init slot...\033[0m\n", __func__);