mirror of https://github.com/openclaw/openclaw.git
fix: satisfy heartbeat runner cleanup curly lint (openclaw#15108) thanks @joeykrug
This commit is contained in:
parent
75b722a9f2
commit
4498ed19ec
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue