Commit b588250f by 李定达

1.修复bug上线版本

parent 565b27de
...@@ -48,8 +48,12 @@ void FmControl::onKeepProcess() ...@@ -48,8 +48,12 @@ void FmControl::onKeepProcess()
if(m_init_flag == false) if(m_init_flag == false)
{ {
QLOG_INFO() << "update.flag : " << m_init_flag;
QFile file(qApp->applicationDirPath() + "/update.flag"); QFile file(qApp->applicationDirPath() + "/update.flag");
QLOG_INFO() << ": " << file.exists();
if(file.exists()) if(file.exists())
{ {
++ m_keepsleeptime; ++ m_keepsleeptime;
...@@ -71,6 +75,7 @@ void FmControl::onKeepProcess() ...@@ -71,6 +75,7 @@ void FmControl::onKeepProcess()
} }
m_init_flag = false; m_init_flag = false;
m_keepsleeptime = 0;
if(!_GetDiedProcess(FmTools::GetInstance().GetKeepExes(), diedProcList, error)) if(!_GetDiedProcess(FmTools::GetInstance().GetKeepExes(), diedProcList, error))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment