conformal/btcsim — pull request #31 by tuxcanfly (2014-08-12 07:38:32+00:00)
Title: fixed hang on actor shutdown

There were some cases where actor was hanging up because we're first calling `Stop` and waiting for all goroutines to exit. We need to drain the chans when `Stop` is requested to allow `Shutdown` in such a case.