fix: address review-work round 3 findings (async shutdown, signal generation, stale test name)

This commit is contained in:
YeonGyu-Kim
2026-03-11 21:30:04 +09:00
parent ff536e992a
commit 2c3c447dc4
6 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ export type PluginDispose = () => Promise<void>
export function createPluginDispose(args: {
backgroundManager: {
shutdown: () => void
shutdown: () => void | Promise<void>
}
skillMcpManager: {
disconnectAll: () => Promise<void>
@@ -19,7 +19,7 @@ export function createPluginDispose(args: {
}
disposePromise = (async (): Promise<void> => {
backgroundManager.shutdown()
await backgroundManager.shutdown()
await skillMcpManager.disconnectAll()
disposeHooks()
})()