commit | 5659aab3992e069ebff403f042d6a12b1603e827 | [log] [tgz] |
---|---|---|
author | Asim Shankar <ashankar@google.com> | Tue Jul 29 12:41:07 2014 -0700 |
committer | Asim Shankar <ashankar@google.com> | Tue Jul 29 12:41:07 2014 -0700 |
tree | 010714018b9be65a37ccd26ad09de7d9f8a78fb6 | |
parent | 7f43d655d36534144f2387d4769e9f95d3ab0375 [diff] |
veyron/examples/tunnel: Fix possible "send on closed channel" error. This is an attempt to fix a race that sometimes leads to a panic of the form: panic: runtime error: send on closed channel goroutine 71 [running]: runtime.panic(0x3c6098, 0x60734e) /usr/local/google/home/andreser/veyron/environment/go/src/pkg/runtime/panic.c:279 +0x1a0 veyron/examples/tunnel/tunneld/impl.(*ioManager).stdout2outchan(0x10a2bd70) Change-Id: I1cb048a09b38defd0f7f06540f05df1d647e234c