Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix async node_helper stopping electron start (#3021)
Async node_helper dont have to finish immediately in loadModules. So the start callback in the app.js with the config isnt called for some time. But the electron ready event can already be fired in the meantime. This lead to the electron app starting but without a config (which is provded by the node_helper callback) therefor crashing. This PR fixes #2487 by moving the callback call out of the loadModules block, therefor the config is provided in time. If any new async node_helper doesnt like this, we will see it :-) Co-authored-by: veeck <michael@veeck.de>
- Loading branch information