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>
This commit is contained in:
Pierre Gayvallet 2023-08-30 11:34:40 +02:00 committed by GitHub
parent 116c4b809e
commit 903a5111e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -600,7 +600,7 @@ export class FleetPlugin
};
}
public async stop() {
public stop() {
appContextService.stop();
this.policyWatcher?.stop();
licenseService.stop();

View file

@ -69,6 +69,4 @@ export class TriggersActionsPlugin implements Plugin<void, PluginStartContract>
data: this.data,
};
}
public async stop(): Promise<void> {}
}