mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
opts: Add a --force-ipc option (#38833)
Testing: servo.org loads properly with `./mach run -- -I` Fixes: https://github.com/servo/servo/issues/38823 Signed-off-by: Rahul Menon <menonrahul02@gmail.com>
This commit is contained in:
parent
f30be4e1ab
commit
e00f39d827
3 changed files with 8 additions and 1 deletions
|
@ -156,7 +156,7 @@ pub fn channel<T>() -> Option<(GenericSender<T>, GenericReceiver<T>)>
|
|||
where
|
||||
T: for<'de> Deserialize<'de> + Serialize,
|
||||
{
|
||||
if servo_config::opts::get().multiprocess {
|
||||
if servo_config::opts::get().multiprocess || servo_config::opts::get().force_ipc {
|
||||
ipc_channel::ipc::channel()
|
||||
.map(|(tx, rx)| (GenericSender::Ipc(tx), GenericReceiver::Ipc(rx)))
|
||||
.ok()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue