conformal/btcsim — pull request #45 by tuxcanfly (2014-09-03 12:08:12+00:00)
Title: simplify exit and cleanup

We had two channels `exit` and `waitForExit`, but both were being used for the same purpose. Also, cleanup is already being done in `Shutdown` goroutine so removed it from interrupt handlers. This was causing panics due to double close of `a.quit` chan.