diff --git a/atom/browser/atom_browser_main_parts.cc b/atom/browser/atom_browser_main_parts.cc index 30d096063ed..d31b54bc462 100644 --- a/atom/browser/atom_browser_main_parts.cc +++ b/atom/browser/atom_browser_main_parts.cc @@ -211,6 +211,12 @@ void AtomBrowserMainParts::InitializeFeatureList() { // Chromium drops support for the old sandbox implmentation. disable_features += std::string(",") + features::kMacV2Sandbox.name; #endif + // Disable creation of spare renderer process with site-per-process mode, + // it interferes with our process preference tracking for non sandboxed mode. + // Can be reenabled when our site instance policy is aligned with chromium + // when node integration is enabled. + disable_features += + std::string(",") + features::kSpareRendererForSitePerProcess.name; auto feature_list = std::make_unique(); feature_list->InitializeFromCommandLine(enable_features, disable_features); base::FeatureList::SetInstance(std::move(feature_list));