From 903a5111e6783de4296d54cca4f749c1595725d6 Mon Sep 17 00:00:00 2001 From: Pierre Gayvallet Date: Wed, 30 Aug 2023 11:34:40 +0200 Subject: [PATCH] remove unnecessary `async stop` from plugins (#164807) ## Summary Related to https://github.com/elastic/kibana/issues/163519. All in title. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- x-pack/plugins/fleet/server/plugin.ts | 2 +- x-pack/plugins/triggers_actions_ui/server/plugin.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/plugins/fleet/server/plugin.ts index 8a663247819ef..9603eb2b47064 100644 --- a/x-pack/plugins/fleet/server/plugin.ts +++ b/x-pack/plugins/fleet/server/plugin.ts @@ -600,7 +600,7 @@ export class FleetPlugin }; } - public async stop() { + public stop() { appContextService.stop(); this.policyWatcher?.stop(); licenseService.stop(); diff --git a/x-pack/plugins/triggers_actions_ui/server/plugin.ts b/x-pack/plugins/triggers_actions_ui/server/plugin.ts index 0b3b02c325a45..04de44a088ed5 100644 --- a/x-pack/plugins/triggers_actions_ui/server/plugin.ts +++ b/x-pack/plugins/triggers_actions_ui/server/plugin.ts @@ -69,6 +69,4 @@ export class TriggersActionsPlugin implements Plugin data: this.data, }; } - - public async stop(): Promise {} }