[Fuchsia] Switch DCHECK to WARNING when service directory not connected.
Since it is possible for a parent process to exit without waiting for its children to teardown, child processes may attempt to open /svc only after it has been torn-down, causing no Directory handle to be returned. ServiceDirectoryClient::ForCurrentProcess() now returns an instance not connected to any actual directory, rather than crashing, if it is unable to open "/svc". Bug: 950672 Change-Id: I6f4acfa1c325d7831a3d5bf28cf04a8d1a3d66dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560376 Commit-Queue: Wez <wez@chromium.org> Reviewed-by:Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#650579}
Showing
Please register or sign in to comment