Skip to content

Commit

Permalink
Stop preboot plugins only once on stop() (#171170)
Browse files Browse the repository at this point in the history
## Summary

When running `setup()` followed by `stop()`, the preboot plugins can ATM
be stopped multiple times.
  • Loading branch information
gsoldevila committed Nov 16, 2023
1 parent db5176b commit 82d0503
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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();
}

Expand Down

0 comments on commit 82d0503

Please sign in to comment.