Page MenuHomePhabricator

Manage PIDs more carefully in DaemonHandle
ClosedPublic

Authored by epriestley on Jul 23 2020, 5:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 30, 6:46 AM
Unknown Object (File)
Wed, Oct 30, 5:06 AM
Unknown Object (File)
Oct 8 2024, 5:29 AM
Unknown Object (File)
Sep 6 2024, 8:26 AM
Unknown Object (File)
Sep 4 2024, 6:12 PM
Unknown Object (File)
Sep 4 2024, 3:48 AM
Unknown Object (File)
Sep 3 2024, 4:41 AM
Unknown Object (File)
Aug 30 2024, 8:18 PM
Subscribers
None

Details

Summary

Ref T13555. Although these callsites may not actually impact anything, it's possible for an active handle to have no PID (e.g., if the subprocess failed to start).

Handle these cases more carefully.

Test Plan

Started daemons, saw them run fine. See also next change.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jul 23 2020, 6:22 PM
This revision was automatically updated to reflect the committed changes.