Skip to content

Commit 9c5d0c8

Browse files
xaitsmaeder
andcommitted
fix: PluginDeployerContribution returns resolved Promise
To avoid delaying the application startup while loading plugins, the initialize function of the PluginDeployerContribution class explicitly returns a resolved Promise. Signed-off-by: Olaf Lessenich <[email protected]> Co-authored-by: Thomas Mäder <[email protected]>
1 parent 39ad475 commit 9c5d0c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/plugin-ext/src/main/node/plugin-deployer-contribution.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export class PluginDeployerContribution implements BackendApplicationContributio
2929
protected pluginDeployer: PluginDeployer;
3030

3131
initialize(): Promise<void> {
32-
return this.pluginDeployer.start();
32+
this.pluginDeployer.start();
33+
return Promise.resolve();
3334
}
3435
}

0 commit comments

Comments
 (0)