mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
fix: satisfy heartbeat runner cleanup curly lint (openclaw#15108) thanks @joeykrug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user