Page MenuHomePhabricator

Manage PIDs more carefully in DaemonHandle
ClosedPublic

Authored by epriestley on Jul 23 2020, 5:09 PM.
Tags
None
Referenced Files
F15334661: D21424.id50981.diff
Sat, Mar 8, 11:16 AM
F15332675: D21424.id50975.diff
Fri, Mar 7, 7:05 PM
F15331886: D21424.diff
Fri, Mar 7, 2:57 PM
F15331494: D21424.id.diff
Fri, Mar 7, 10:38 AM
Unknown Object (File)
Mon, Mar 3, 5:29 PM
Unknown Object (File)
Feb 9 2025, 9:47 AM
Unknown Object (File)
Feb 9 2025, 9:47 AM
Unknown Object (File)
Feb 9 2025, 9:47 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
Branch
pid1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24795
Build 34206: Run Core Tests
Build 34205: arc lint + arc unit

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.