Page MenuHomePhabricator

Manage PIDs more carefully in DaemonHandle
ClosedPublic

Authored by epriestley on Jul 23 2020, 5:09 PM.
Tags
None
Referenced Files
F19155979: D21424.id50975.diff
Fri, Dec 12, 8:57 AM
F19037505: D21424.id50981.diff
Tue, Nov 25, 11:45 PM
F19033421: D21424.diff
Tue, Nov 25, 10:26 AM
F19015760: D21424.id50981.diff
Nov 23 2025, 1:20 AM
F18872939: D21424.diff
Nov 5 2025, 7:01 AM
F18799056: D21424.id.diff
Oct 17 2025, 10:59 AM
F18792349: D21424.diff
Oct 16 2025, 7:32 PM
F18701286: D21424.diff
Sep 27 2025, 6:12 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.