fix(plugins): clean bundled extension lint tail

This commit is contained in:
Vincent Koc
2026-04-06 15:21:22 +01:00
parent 07b3ee813a
commit 620537914b
17 changed files with 69 additions and 43 deletions

View File

@@ -1730,7 +1730,8 @@ export async function monitorMattermostProvider(opts: MonitorMattermostOpts = {}
unregisterInteractions?.();
}
if (slashShutdownCleanup) {
await slashShutdownCleanup;
const slashShutdownCleanupPromise = slashShutdownCleanup;
if (slashShutdownCleanupPromise) {
await Promise.resolve(slashShutdownCleanupPromise);
}
}