commit | aceb8d971d96ee45d2fb02a0a2a7c28c7edfdd0f | [log] [tgz] |
---|---|---|
author | Cosmos Nicolaou <cnicolaou@google.com> | Thu Feb 05 20:44:02 2015 -0800 |
committer | Cosmos Nicolaou <cnicolaou@google.com> | Thu Feb 05 20:44:05 2015 -0800 |
tree | ab61b2320c1446ac2916c03ca93c0f9ab64d866a | |
parent | c4b516945091da2b205215190a00447ee7698d1c [diff] |
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