* Output of `node_modules/.bin/electron --version`: v4.0.0
* Operating System (Platform and Version): macOS 10.14.2

* Output of `node_modules/.bin/electron --version` on last known working Electron version (if applicable): 2.0.7

### Expected behavior

I should be able to call `app.setAccessibilitySupportEnabled(true)` during initialization, and the application should start and stay open.

### Actual behavior

The application starts and exits immediately if `app.setAccessibilitySupportEnabled(true)` is called during initialization. Same for passing in `false`.

### How to reproduce

Here is a simple project that shows this error. The application behaves as expected (does not exit immediately) when this line is commented out:
https://github.com/marisademeglio/electron4-setA11yTreeEnabled/blob/master/src/main/main.js#L27

  $ git clone https://github.com/marisademeglio/electron4-setA11yTreeEnabled.git
  $ yarn install
  $ yarn start

atom/browser/api/atom_api_app.h
#ifndef ATOM_BROWSER_API_ATOM_API_APP_H_
#define ATOM_BROWSER_API_ATOM_API_APP_H_
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include "atom/browser/api/event_emitter.h"
#include "atom/browser/atom_browser_client.h"
#include "atom/browser/browser.h"
#include "atom/browser/browser_observer.h"
#include "atom/common/native_mate_converters/callback.h"
#include "atom/common/promise_util.h"
#include "base/process/process_iterator.h"
#include "base/task/cancelable_task_tracker.h"
#include "chrome/browser/icon_manager.h"
#include "chrome/browser/process_singleton.h"
#include "content/public/browser/browser_child_process_observer.h"
#include "content/public/browser/gpu_data_manager_observer.h"
#include "content/public/browser/render_process_host.h"
#include "native_mate/dictionary.h"
#include "native_mate/handle.h"
#include "net/base/completion_callback.h"
#include "net/ssl/client_cert_identity.h"
#if defined(USE_NSS_CERTS)
#include "chrome/browser/certificate_manager_model.h"
#endif
namespace base {
class FilePath;