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, Dec 18, 9:17 AM
Unknown Object (File)
Mon, Dec 16, 6:26 AM
Unknown Object (File)
Fri, Dec 6, 5:25 PM
Unknown Object (File)
Fri, Dec 6, 6:25 AM
Unknown Object (File)
Fri, Dec 6, 12:33 AM
Unknown Object (File)
Mon, Dec 2, 10:38 AM
Unknown Object (File)
Thu, Nov 28, 1:56 PM
Unknown Object (File)
Nov 24 2024, 6:37 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.