Page MenuHomePhabricator

Manage PIDs more carefully in DaemonHandle
ClosedPublic

Authored by epriestley on Jul 23 2020, 5:09 PM.
Tags
None
Referenced Files
F18110840: D21424.id50975.diff
Tue, Aug 12, 12:42 AM
F18108515: D21424.id50981.diff
Mon, Aug 11, 7:18 AM
F18104576: D21424.id.diff
Sun, Aug 10, 1:18 PM
F18102603: D21424.diff
Sat, Aug 9, 9:59 PM
Unknown Object (File)
Jun 3 2025, 7:32 PM
Unknown Object (File)
Apr 30 2025, 7:02 AM
Unknown Object (File)
Apr 29 2025, 12:23 PM
Unknown Object (File)
Apr 28 2025, 8:04 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.