From 8e706636d3b058698a92a1a3324c6132ecd065dd Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 7 Nov 2022 12:20:25 +1100 Subject: [PATCH] [host] app: don't stop the lgmpTimer on session recovery --- host/src/app.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/host/src/app.c b/host/src/app.c index cf437525..dc6a48e9 100644 --- a/host/src/app.c +++ b/host/src/app.c @@ -149,7 +149,9 @@ static bool lgmpTimer(void * opaque) DEBUG_ERROR("LGMP reported the shared memory has been corrrupted, " "attempting to recover"); 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));