veyron/examples/rockpaperscissors: Fix leak.

After the RPC finished, there is nothing reading from the playerChan
anymore. If additional input is received, including EOF, a goroutine
would block forever trying to write to playerChan. This is resolved with
using a 'done' channel to make the goroutine return cleanly.

Change-Id: I258f75dfbfc9a26dd292b6e9077e307620713e86
1 file changed
tree: cc564832323d20a05fae632d039f714cd19baeed
  1. examples/
  2. lib/
  3. runtimes/
  4. security/
  5. services/
  6. tools/