Skip to content

Commit

Permalink
remove unnecessary async stop from plugins (#164807)
Browse files Browse the repository at this point in the history
## Summary

Related to #163519.

All in title.

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
pgayvallet and kibanamachine authored Aug 30, 2023
1 parent 116c4b8 commit 903a511
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ export class FleetPlugin
};
}

public async stop() {
public stop() {
appContextService.stop();
this.policyWatcher?.stop();
licenseService.stop();
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/triggers_actions_ui/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,4 @@ export class TriggersActionsPlugin implements Plugin<void, PluginStartContract>
data: this.data,
};
}

public async stop(): Promise<void> {}
}

0 comments on commit 903a511

Please sign in to comment.