message: Don't crash when config messages appear too early
diff: @@ -536,6 +536,11 @@ async function asyncSetupConfiguration(): Promise<void> {
  const newSystemConfig = <SystemConfig> configDatabase.getConfigCopy(SYSTEM_CONFIG);
  const newGeneralConfig = <GeneralConfig> configDatabase.getConfigCopy(GENERAL_CONFIG);
  + if (newSystemConfig == null || newGeneralConfig == null) {
  + // Not initialised yet. This can happen with the different (race) timing between main and render process.
  + return;
  + }
  +
  const keybindingsFile = loadKeybindingsFromObject(newSystemConfig.flatKeybindingsSet, process.platform);
  if (! keybindingsFile.equals(keybindingsManager.getKeybindingsMapping())) {
  keybindingsManager.setKeybindingsMapping(keybindingsFile);
  