fix: satisfy heartbeat runner cleanup curly lint (openclaw#15108) thanks @joeykrug

This commit is contained in:
Gustavo Madeira Santana 2026-02-12 22:10:52 -05:00
parent 75b722a9f2
commit 4498ed19ec
1 changed files with 3 additions and 1 deletions

View File

@ -1006,7 +1006,9 @@ export function startHeartbeatRunner(opts: {
updateConfig(state.cfg);
const cleanup = () => {
if (state.stopped) return;
if (state.stopped) {
return;
}
state.stopped = true;
disposeWakeHandler();
if (state.timer) {