diff --git a/components/config/opts.rs b/components/config/opts.rs index fbca63417ae..c9b70b5a131 100644 --- a/components/config/opts.rs +++ b/components/config/opts.rs @@ -911,6 +911,9 @@ lazy_static! { } pub fn set_defaults(opts: Opts) { + // Set the static to the new default value. + MULTIPROCESS.store(opts.multiprocess, Ordering::SeqCst); + unsafe { assert!(DEFAULT_OPTIONS.is_null()); assert_ne!(DEFAULT_OPTIONS, INVALID_OPTIONS);