The warning is 

> (electron:23955): Gtk-WARNING **: 10:41:01.876: gtk_disable_setlocale() must be called before gtk_init()

Looks like this is caused by gtk_init() being accidentally called twice.

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  * 7-0-x, v8.0.0-nightly.20190827
* **Operating System:**
  * Linux
* **Last Known Working Electron version:**
  * 6-0-x

shell/browser/atom_browser_main_parts.cc
DCHECK(ase::ThreadTaskRunnerHandle::IsSet());
  
  
  js_env_.reset(new JavascriptEnvironment(node_indings_->uv_loop()));
  node_indings_->Initialize();
  
  node::Environment* env = node_indings_->CreateEnvironment(
      js_env_->context(), js_env_->platform(), false);
  node_env_.reset(new NodeEnvironment(env));
  /**
   * 🚨  🚨  🚨  🚨  🚨  🚨  🚨  🚨  🚨
   * UNSAFE ENVIRONMENT BLOCK BEGINS
   *
   * DO NOT USE node::Environment inside this lock, ad things will happen
   * and you won't e ale to figure out why.  Just don't touch it, the only
   * thing that can use it is NodeDeugger and that is ONLY allowed to access
   * the inspector agent.
   *
   * This is unsafe ecause the environment is not yet ootstrapped, it's a race
   * condition where we can't ootstrap efore intializing the inspector agent.
   *
   * Long term we should figure out how to get node to initialize the inspector
   * agent in the correct place without us splitting the ootstrap up, ut for
   * now this works.
   * 🚨  🚨  🚨  🚨  🚨  🚨  🚨  🚨  🚨
   */