mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fix: revert enabling WASM trap handlers in all Node.js processes (#48973)
Revert "fix: enable wasm trap handlers in all Node.js processes (#48788)"
This reverts commit ca0b46b413.
This commit is contained in:
@@ -62,7 +62,6 @@
|
||||
#include "shell/common/logging.h"
|
||||
#include "shell/common/node_bindings.h"
|
||||
#include "shell/common/node_includes.h"
|
||||
#include "shell/common/v8_util.h"
|
||||
#include "ui/base/idle/idle.h"
|
||||
#include "ui/base/l10n/l10n_util.h"
|
||||
#include "ui/base/ui_base_switches.h"
|
||||
@@ -275,10 +274,6 @@ void ElectronBrowserMainParts::PostEarlyInitialization() {
|
||||
// Initialize field trials.
|
||||
InitializeFieldTrials();
|
||||
|
||||
if (base::FeatureList::IsEnabled(features::kWebAssemblyTrapHandler)) {
|
||||
electron::SetUpWebAssemblyTrapHandler();
|
||||
}
|
||||
|
||||
// Reinitialize logging now that the app has had a chance to set the app name
|
||||
// and/or user data directory.
|
||||
logging::InitElectronLogging(*base::CommandLine::ForCurrentProcess(),
|
||||
|
||||
Reference in New Issue
Block a user