mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +00:00
constellation: Ignore zombie_process
warning (#36904)
`rust-analyzer` shows a `zombie_process` warning, but only on macOS as far as I can tell. This change ignores the warning here. We aren't currently in a position where we can reliably `wait()` on spawned processes, which needs to happen as part of a larger multiprocess / cleanup effort. Testing: No testing as this just ignores an LSP warning. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
41896c72e7
commit
c6de8fc8e6
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ pub fn spawn_multiprocess(content: UnprivilegedContent) -> Result<Process, Error
|
|||
let mut child_process = process::Command::new(path_to_self);
|
||||
setup_common(&mut child_process, token);
|
||||
|
||||
#[allow(clippy::zombie_processes)]
|
||||
let child = child_process
|
||||
.spawn()
|
||||
.expect("Failed to start unsandboxed child process!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue