mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Stop preboot plugins only once on stop() (#171170)
## Summary When running `setup()` followed by `stop()`, the preboot plugins can ATM be stopped multiple times.
This commit is contained in:
parent
db5176b17a
commit
82d05036ac
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ export class PluginsService
|
|||
this.log.debug('Stopping plugins service');
|
||||
|
||||
if (!this.arePrebootPluginsStopped) {
|
||||
this.arePrebootPluginsStopped = false;
|
||||
this.arePrebootPluginsStopped = true;
|
||||
await this.prebootPluginsSystem.stopPlugins();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue