runtimes/google/ipc/server.go: fix a race.

- it's only safe to close the publisher's channel if CloseFork
  doesn't report an error. In general, the only error CloseFork
  will return is that the channel/publisher has already been closed!

Change-Id: I734707205a045091e321fc38d2cb99090e5a759d
2 files changed
tree: ab61b2320c1446ac2916c03ca93c0f9ab64d866a
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/