This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12056 from atom/crashreporter-not-on-ui-thread-ex…
…cept-mac CrashReporter should not run on UI thread on Win/Linux
- Loading branch information
Showing
4 changed files
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = (extra) -> | ||
# Breakpad on Mac OS X must be running on UI and non-UI processes | ||
# Crashpad on Windows and Linux should only be running on non-UI process | ||
return if process.type is 'renderer' and process.platform isnt 'darwin' | ||
|
||
{crashReporter} = require 'electron' | ||
|
||
crashReporter.start({ | ||
productName: 'Atom', | ||
companyName: 'GitHub', | ||
submitURL: 'http://54.249.141.255:1127/post' | ||
extra: extra | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters