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, Mar 27, 12:39 PM
Unknown Object (File)
Thu, Mar 21, 6:38 PM
Unknown Object (File)
Mar 5 2024, 8:08 AM
Unknown Object (File)
Dec 27 2023, 1:35 PM
Unknown Object (File)
Dec 22 2023, 3:20 AM
Unknown Object (File)
Dec 7 2023, 7:42 PM
Unknown Object (File)
Nov 30 2023, 4:09 AM
Unknown Object (File)
Nov 17 2023, 12:12 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.