Page MenuHomePhabricator

Manage PIDs more carefully in DaemonHandle
ClosedPublic

Authored by epriestley on Jul 23 2020, 5:09 PM.
Tags
None
Referenced Files
F19727540: D21424.id50975.diff
Fri, Feb 13, 8:54 PM
F19709481: D21424.diff
Wed, Feb 11, 2:52 PM
F19698895: D21424.id50981.diff
Tue, Feb 10, 7:05 PM
F19303853: D21424.diff
Dec 24 2025, 6:01 AM
F19155979: D21424.id50975.diff
Dec 12 2025, 8:57 AM
F19037505: D21424.id50981.diff
Nov 25 2025, 11:45 PM
F19033421: D21424.diff
Nov 25 2025, 10:26 AM
F19015760: D21424.id50981.diff
Nov 23 2025, 1:20 AM
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.