[host] app: don't stop the lgmpTimer on session recovery

This commit is contained in:
Geoffrey McRae 2022-11-07 12:20:25 +11:00
parent 352cd2fafe
commit 8e706636d3

View File

@ -149,7 +149,9 @@ static bool lgmpTimer(void * opaque)
DEBUG_ERROR("LGMP reported the shared memory has been corrrupted, " DEBUG_ERROR("LGMP reported the shared memory has been corrrupted, "
"attempting to recover"); "attempting to recover");
app.state = APP_STATE_REINIT; app.state = APP_STATE_REINIT;
return false;
// this is not a termination state, don't stop the timer
return true;
} }
DEBUG_ERROR("lgmpHostProcess Failed: %s", lgmpStatusString(status)); DEBUG_ERROR("lgmpHostProcess Failed: %s", lgmpStatusString(status));