refactor(plugin-state): drop duplicate close alias · openclaw/openclaw@482d6d5
vincentkoc
·
2026-06-19
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -10,7 +10,7 @@ import { type ChannelId, listChannelPlugins } from "../channels/plugins/index.js
|
10 | 10 | import { createInternalHookEvent, triggerInternalHook } from "../hooks/internal-hooks.js"; |
11 | 11 | import type { HeartbeatRunner } from "../infra/heartbeat-runner.js"; |
12 | 12 | import { createSubsystemLogger } from "../logging/subsystem.js"; |
13 | | -import { closePluginStateSqliteStore } from "../plugin-state/plugin-state-store.js"; |
| 13 | +import { closePluginStateDatabase } from "../plugin-state/plugin-state-store.js"; |
14 | 14 | import type { PluginServicesHandle } from "../plugins/services.js"; |
15 | 15 | import { |
16 | 16 | abortTrackedChatRunById, |
@@ -826,7 +826,7 @@ export function createGatewayCloseHandler(
|
826 | 826 | }), |
827 | 827 | ]); |
828 | 828 | }); |
829 | | -await shutdownStep("plugin-state-store", () => closePluginStateSqliteStore(), warnings); |
| 829 | +await shutdownStep("plugin-state-store", () => closePluginStateDatabase(), warnings); |
830 | 830 | await measureCloseStep("config-reloader", () => |
831 | 831 | shutdownStep("config-reloader", () => params.configReloader.stop(), warnings), |
832 | 832 | ); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。